示例1
构建设置
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
# generate static project
$ npm run generate
有关工作原理的详细说明,请查看 。
博客
一个Vue.js项目
构建设置
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
有关工作原理的详细说明,请参阅。