Spring-boot with Webpack starter
Requirements
- Java 1.8+
- Apache maven 3.1+
- Node.js
Usage
For developer's local mode
$ npm install
$ ./mvnw clean spring-boot:run -Dspring-boot.run.profiles=local &
$ npm start
For development mode
$ ./mvnw -Pdev clean package
$ java -jar ./target/spring-boot-with-frontend-stater-0.0.1-SNAPSHOT.war
For production mode
$ ./mvnw -Preal clean package
$ java -jar ./target/spring-boot-with-frontend-stater-0.0.1-SNAPSHOT.war
Show bundle analyze map
$ npm run analyze