A Vue.js project, 基于vue-cli 创建的项目,模板语言为基于webpack的vue模板,即可用.vue为后缀的文档编写组件.
默认没有启动服务端渲染功能
修改 package.json中的 scripts 里面dev一项为 "npm run compile && node build/dev-server-2.js",
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For detailed explanation on how things work, checkout the guide and docs for vue-loader.