/quarkus-primereact

Quarkus application with React and PrimeReact components

Primary LanguageJavaScript

quarkus-primereact

Quarkus Java backend application with React and PrimeReact components

Prerequisites

The mvnpm locker Maven Plugin will create a version locker profile for your org.mvnpm and org.webjars dependencies. Allowing you to mimick the package-lock.json and yarn.lock files in a Maven world.

If you get errors like Locker BOM not found you can bootstrap it by running the following command:

./mvnw io.mvnpm:locker-maven-plugin:LATEST:lock

Run in dev mode and open browser

Run command and open browser at http://localhost:8080

./mvnw compile quarkus:dev

Packaging and running the application

The application can be packaged using:

./mvnw package

It produces the quarkus-run.jar file in the target/quarkus-app/ directory. Be aware that it’s not an über-jar as the dependencies are copied into the target/quarkus-app/lib/ directory.

The application is now runnable using java -jar target/quarkus-app/quarkus-run.jar.

If you want to build an über-jar, execute the following command:

./mvnw package -Dquarkus.package.type=uber-jar

The application, packaged as an über-jar, is now runnable using java -jar target/*-runner.jar.