Mini web project for study vue.js
(Reference Book : Vue.js 코딩 공작소)
Node.js : http://nodejs.org/en/download
NVM : https://github.com/creationix/nvm
for MacOS
# Homebrew
$ brew install node
# MacPort
$ sudo port install nodejs
for Linux
# ubuntu
$ sudo apt-get install nodejs
# pedora
$ yum install nodejs
check
$ node -v
$ npm -v
# Install vue-cli
$ npm install -g vue-cli
# Create project
$ vue init webpack petstore # vue init <template-name> <project-name>
$ cd petstore
$ npm install vuex
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.