VUE在线预览zip压缩文件-初始项目
# install dependencies(第一步:安装)
npm install
#if in china(如果在国内,请使用淘宝镜像后,再进行安装)
npm install -g cnpm --registry=http://registry.npm.taobao.org
npm install
#error connot mould(如果你直接运行出错了应该是没有安装node-sass)
npm install node-sass -D
#if in china(在国内请使用这种方式安装)
cnpm install node-sass -D
# serve with hot reload at localhost:8080(跑起来项目,端口是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