-
Install Node from https://nodejs.org/ if you do not have it installed
-
Go to the folder where you want to create a project (a sub directory is created) and run
npx @vaadin/cli init my-project
# my-project is the project name and the folder to create
-
Start the project as
cd my-project
mvn spring-boot:run
-
Open http://localhost:8080 to view the application
Testing pre-releases
If you want to create a project using the latest pre-release, add --pre
to the command, e.g.
npx @vaadin/cli init --pre my-project