beverage-starter-flow

Simple Example Web Application for Vaadin Flow

Github星跟踪图

Gitter

Beverage Buddy App Starter for Vaadin Flow

:coffee::tea::sake::baby_bottle::beer::cocktail::tropical_drink::wine_glass:

This is a Vaadin platform example application created with Java and HTML. It is used to demonstrate features of Vaadin platform.

The easiest way of using it is via https://vaadin.com/start - you can choose the vaadin version and the package naming you want. If you want to use it with the latest vaadin version you can use this direct link.

The Starter demonstrates the core Vaadin Flow concepts:

Prerequisites

The project can be imported into the IDE of your choice, with Java 8 or 11 installed, as a Maven project.

But additionally you need node.js installed in your System, and available in your PATH.
See the Node.js page for the installation instructions.

Dependencies

Dependencies are managed by Vaadin platform and vaadin-maven-plugin.

Running the Project in Developer Mode

  1. Run mvn jetty:run
  2. Wait for the application to start
  3. Open http://localhost:8080/ to view the application

Note that there are some files/folders generated in the project structure automatically. You can find some information about them here.

Production Mode

  1. Run mvn package -Pproduction to get the artifact.
  2. Deploy the target/beveragebuddy-2.0-SNAPSHOT.war.

If you want to run the production build using the Jetty plugin, use mvn jetty:run -Pproduction and navigate to the http://localhost:8080/.

Documentation

Brief introduction to the application parts can be found from the documentation folder. For Vaadin documentation for Java users, see Vaadin.com/docs.

Adding new templates

To add a new template or a style to the project create the JavaScript module in the ./frontend directory.

Then in the PolymerTemplate using the P3 element add the JsModule annotation e.g. @JsModule("./src/views/reviewslist/reviews-list.js")

Branching information

  • master the latest version of the starter, using the latest platform version
  • v10 the version for Vaadin Platform 10
  • v11 the version for Vaadin Platform 11
  • v12 the version for Vaadin Platform 12
  • v13 the version for Vaadin Platform 13

主要指标

概览
名称与所有者vaadin/beverage-starter-flow
主编程语言Java
编程语言Java (语言数: 3)
平台
许可证
所有者活动
创建于2017-08-28 07:24:23
推送于2022-02-03 10:03:17
最后一次提交2021-02-04 07:48:25
发布数3
最新版本名称2.0.0.alpha1 (发布于 2019-03-13 09:17:29)
第一版名称1.0.0.beta1 (发布于 )
用户参与
星数26
关注者数12
派生数29
提交数279
已启用问题?
问题数121
打开的问题数8
拉请求数375
打开的拉请求数0
关闭的拉请求数47
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?