Created
February 7, 2017 21:19
-
-
Save christoph-frick/bc632f94448c8eab19025708f891d1b9 to your computer and use it in GitHub Desktop.
Minimal Springboot Vaadin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// run with `spring run --watch vaadin.groovy` | |
@Grab('com.vaadin:vaadin-spring-boot-starter:1.2.0') | |
import com.vaadin.ui.* | |
@com.vaadin.spring.annotation.SpringUI | |
@com.vaadin.annotations.Theme("valo") | |
class MyUI extends UI { | |
protected void init(com.vaadin.server.VaadinRequest request) { | |
setContent(new Label("Hello World")) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment