Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 542 Bytes

File metadata and controls

35 lines (25 loc) · 542 Bytes

Spring-boot with Webpack starter

Requirements

  • Java 11+
  • Node.js

Usage

For developer's local mode

$ npm install
$ ./gradlew -Pprofile=local clean bootRun &
$ npm start

For development mode

$ ./gradlew -Pprofile=dev clean bootJar
$ java -jar ./target/spring-boot-with-frontend-stater-1.0.0.war

For production mode

$ ./gradlew -Pprofile=real clean bootJar
$ java -jar ./target/spring-boot-with-frontend-stater-1.0.0.war

Show bundle analyze map

$ npm run analyze