Development prerequisites
- Install Node.js and NPM : Download Node.js from https://nodejs.org/en/download/ and install it on your system. NPM comes bundled with Node.js
- vue-cli : Install vue-cli by executing
npm install --global vue-cli
command on your your terminal or command prompt. For more details visit https://vuejs.org/v2/guide/installation.html - Install npm packages : In terminal go to your project root directory and run
npm install
command, it will download all the dependencies under node_modules folder.
Running development server
Run npm run dev
command to run dev server and access http://localhost:8080/
to run your app/project on browser. The app will automatically reload if you change any of the source files.
Production building
Run npm run build
to build the project. The build will be stored in the dist/
directory.
Further help
To get more help on the vue-cli
go check out https://vuejs.org/v2/guide/installation.html