|
4 years ago | |
---|---|---|
frontend | 4 years ago | |
src/main | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE.md | 4 years ago | |
README.md | 4 years ago | |
notes.txt | 4 years ago | |
package-lock.json | 4 years ago | |
package.json | 4 years ago | |
pom.xml | 4 years ago |
This is an example project that can be used as a starting point to create your own Vaadin application with Spring Boot. It contains all the necessary configuration and some placeholder files to get you started.
The project is a standard Maven project, so you can import it to your IDE of choice. Read more how to set up a development environment for Vaadin projects (Windows, Linux, macOS).
This project was created from https://start.vaadin.com.
To run from the command line, use mvn
and open http://localhost:8080 in your browser.
After the application has started, you can view it at http://localhost:8080/ in your browser. You can now also attach breakpoints in code for debugging purposes, by clicking next to a line number in any source file.
src/main/java
, under the main package.Debug As
--> Java Application
.Do not worry if the debugger breaks at a SilentExitException
. This is a Spring Boot feature and happens on every startup.
After the application has started, you can view it at http://localhost:8080/ in your browser. You can now also attach breakpoints in code for debugging purposes, by clicking next to a line number in any source file.
MainView.java
in src/main/java
contains the navigation setup. It uses App Layout.views
package in src/main/java
contains the server-side Java views of your application.views
folder in frontend/
contains the client-side JavaScript views of your application.vaadin.com has lots of material to help you get you started: