Created
January 17, 2015 19:32
-
-
Save christoph-frick/d7a553c97b597cabe68c to your computer and use it in GitHub Desktop.
minimalistic springboot vaadin example; run with `spring run 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
@Grapes([ | |
@Grab('org.vaadin.spring:spring-boot-vaadin:0.0.3'), | |
@Grab('com.vaadin:vaadin-server:7.4.0.beta1'), | |
@Grab('com.vaadin:vaadin-client-compiled:7.4.0.beta1'), | |
@Grab('com.vaadin:vaadin-themes:7.4.0.beta1'), | |
]) | |
import org.vaadin.spring.VaadinUI | |
import com.vaadin.server.VaadinRequest | |
import com.vaadin.ui.* | |
@VaadinUI | |
class MyUI extends UI { | |
protected void init(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