mvysny / karibu-helloworld-application

Karibu-DSL HelloWorld application in Vaadin

Home Page:https://github.com/mvysny/karibu-dsl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Powered By Vaadin on Kotlin Gitpod Ready-to-Code Build Status

Hello, Vaadin 👋

A simple "Hello, World" application in Vaadin and Kotlin. Uses Vaadin Boot. Requires Java 17+.

This project can be used as a starting point to create your own Vaadin application. It has the necessary dependencies and files to get you started. Just clone this repo and start experimenting! Import it to the IDE of your choice as a Gradle project.

MainView.kt:

verticalLayout(classNames = "centered-content") {
    textField("Your name")
    button("Say hello") {
        setPrimary(); addClickShortcut(Key.ENTER)
    }
}

Uses Karibu-DSL Kotlin bindings for the Vaadin framework.

Note: this example project uses Gradle. For Maven-based example project please visit karibu-helloworld-application-maven.

Online demo

View the online demo.

Documentation

Please see the Vaadin Boot documentation on how you run, develop and package this Vaadin-Boot-based app.

More Resources

About

Karibu-DSL HelloWorld application in Vaadin

https://github.com/mvysny/karibu-dsl

License:MIT License


Languages

Language:Kotlin 69.0%Language:Dockerfile 16.2%Language:HTML 7.1%Language:CSS 7.0%Language:Isabelle 0.7%