Our workflow, as indicated below, will use yarn or npm based on selection
- When you create an application, files are generated and in the end it launches a task
yarn install postInstallthe script is package.jsonrun after yarn install, this step calls webpack:buildtask- Now you should have all the files generated and compiled into a folder
wwwinside the folder targetor buildbased on the selected build tool - Now launched
mvnwor gradlewwill launch the backend and should be accessible on localhost: 8080, this should also serve the interface compiled from the previous steps. - , , , ,
webpack:build:dev , yarn start
postInstall script,
maven webpack, webpack, mvnw -Pdev,webpack