Example of using Next.js as static site generator to be served with Spring Boot Web Thymeleaf
./mvnw clean compile spring-boot:run
./mvnw frontend:install-node-and-npm frontend:npm@npm-run-dev -Pdev
./mvnw clean frontend:install-node-and-npm frontend:npm@npm-run-export frontend:npx@npx-serve-out -Pserve
./mvnw ; java -jar target/*.jar
open http://127.0.0.1:8080