vue-cli多页面应用
Branch: master
Clone or download
Latest commit 84afecc Apr 14, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build 支持入口为根节点路径 Mar 1, 2017
config vue-cli多页面脚手架 Oct 20, 2016
src 支持入口为根节点路径 Mar 1, 2017
static vue-cli多页面脚手架 Oct 20, 2016
.babelrc vue-cli多页面脚手架 Oct 20, 2016
.editorconfig vue-cli多页面脚手架 Oct 20, 2016
.gitattributes 💥🐫 Added .gitattributes Oct 20, 2016
.gitignore vue-cli多页面脚手架 Oct 20, 2016
README.md Update README.md Apr 14, 2017
package.json change README.md Oct 20, 2016

README.md

vue-cli多页面应用

A Vue.js project

文章地址:http://www.cnblogs.com/fengyuqing/p/vue_cli_webpack.html

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

针对在webstorm里面不能hot reload的问题大家可以按如下步骤设置一下就行:

Please try turning 'Safe write' option ( Settings | Appearance & Behavior | System Settings | Use "safe write" (save changes to temporary file first)) off

For detailed explanation on how things work, checkout the guide and docs for vue-loader.