Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaadin/base-starter-flow-quarkus
A project base/example for using Vaadin with Quarkus
https://github.com/vaadin/base-starter-flow-quarkus
java quarkus vaadin
Last synced: 3 days ago
JSON representation
A project base/example for using Vaadin with Quarkus
- Host: GitHub
- URL: https://github.com/vaadin/base-starter-flow-quarkus
- Owner: vaadin
- License: unlicense
- Created: 2021-06-10T11:19:03.000Z (over 3 years ago)
- Default Branch: v24
- Last Pushed: 2024-04-03T06:40:53.000Z (6 months ago)
- Last Synced: 2024-04-08T09:11:25.639Z (6 months ago)
- Topics: java, quarkus, vaadin
- Language: Java
- Homepage:
- Size: 2.4 MB
- Stars: 37
- Watchers: 5
- Forks: 19
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project Base for Vaadin Flow and Quarkus
This project can be used as a starting point to create your own Vaadin Flow application for Quarkus. It contains all the necessary configuration with some placeholder files to get you started.
Quarkus 3.0+ requires Java 17.
Starter is also available for [gradle](https://github.com/vaadin/base-starter-flow-quarkus/tree/gradle)
## Running the Application
Import the project to the IDE of your choosing as a Maven project.
Run application using `mvnw` (Windows), or `./mvnw` (Mac & Linux).
Open [http://localhost:8080/](http://localhost:8080/) in browser.
If you want to run your app locally in production mode, call `mvnw package -Pproduction` (Windows), or `./mvnw package -Pproduction` (Mac & Linux)
and then
```
java -jar target/quarkus-app/quarkus-run.jar
```### Including vaadin-jandex for Pro components
If you are using Pro components such GridPro you need to provide the Jandex index for them as well.
Although, this can be achieved by adding their names one-by-one in the `application.properties` similar to the following example:
```properties
quarkus.index-dependency.vaadin-grid-pro.group-id=com.vaadin
quarkus.index-dependency.vaadin-grid-pro.artifact-id=vaadin-grid-pro-flow
```
Vaadin recommends using the official Jandex index for the Pro components which is published as part of the platform:
```xmlcom.vaadin
vaadin-jandex```
The above dependency has already added to the `pom.xml` and all you need to do is uncomment it when if needed.