-
Open
webpack.config.jsand change theapp_rootvalue fromsrc_userstosrc -
Run
npm start -
Congratulations! You now have a blank
Hello worldstarting app
Besides the start script, there are also other scripts
npm run <script> |
What it does |
|---|---|
start |
Starts the app at http://localhost:8080/. The bundle js/css files are stored in memory |
test |
Starts the unit testing using all the files found in the test folder |
test-watch |
Starts the unit testing and watches for changes to re-run the tests |
build-dev |
Builds the js/css bundle files in the public folder. Adds debugging code for development |
build-prod |
Builds the js/css bundle minified files in the public folder |