Skip to main content

Updated Vaadin starter to official Spring plugin

Finally came around to update the Spring-Boot Groovy Vaadin Starter to the official Spring plugin. The only major difference now is the handling of the widgetset via annotation instead of configuration.

Also the "close-to-tweetable" example got an update.

// run with `spring run vaadin.groovy`
import com.vaadin.ui.*

class MyUI extends UI {
        protected void init(com.vaadin.server.VaadinRequest request) {
                setContent(new Label("Hello World!"))