- Vaadin 7 UI Design By Example:Beginner’s Guide
- Alejandro Duarte
- 159字
- 2021-08-13 16:17:37
Time for action – creating a new Vaadin project
Steps for creating a new Vaadin project are as follows:
- Open a new terminal in your operating system and move to the directory you want your project to be created in.
- Run the command line shown as follows:
mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=7.0.0 -Dpackaging=war
- Enter your preferred groupId and press Enter. For example,
com.example.welcome
. - Enter
welcome
as artifactId and press Enter. - Press Enter to accept the default version.
- Press Enter to accept the default package.
- Confirm that everything is OK by typing
Y
and press Enter.
What just happened?
If you can see the rewarding BUILD SUCCESS message, you have successfully created your first Vaadin project using Maven. You must have a new directory with all the generated files for your project.
Deploying and running Vaadin applications with Maven
Deploying to Jetty is so common that we just can't break the old tradition of using it to test our application.
推薦閱讀
- Flask Web全棧開發實戰
- Java Web及其框架技術
- 面向STEM的Scratch創新課程
- SEO智慧
- JavaScript 程序設計案例教程
- Elasticsearch Server(Third Edition)
- HTML5從入門到精通 (第2版)
- Learning Laravel's Eloquent
- Julia for Data Science
- 人工智能算法(卷1):基礎算法
- 零代碼實戰:企業級應用搭建與案例詳解
- Backbone.js Testing
- Getting Started with Electronic Projects
- 和孩子一起學編程:用Scratch玩Minecraft我的世界
- Kotlin語言實例精解