-
Notifications
You must be signed in to change notification settings - Fork 4
General Build Setup
Steven Deutekom edited this page Aug 18, 2020
·
4 revisions
Run the following commands on the command-line.
bash
# installs the project dependencies
npm install
# serve with hot reload at localhost:8080
npm run serve
# build for production with minification
npm run build
# run unit tests (run by CI)
# coverage report generated in program-wars/coverage
npm run test
# run linter (run locally on save, run by CI)
npm run lint
# lint css (run by CI)
npm run lint:style
# generate documentation
# code docs generated in program-wars/documentation
npm run docs
# add a dev dependency
npm install --save-dev dependencyName
# add a production dependency
npm install --save dependencyName
The project was setup using the @vue/cli
tool. This tool takes care of a lot of the stuff that vue uses like webpack
for us. You should not have to worry about these things, but for more information go to https://cli.vuejs.org/.