微信
yuantianjiao f22ebbff59 userCenter пре 6 година
build xcx пре 6 година
config xcx пре 6 година
src userCenter пре 6 година
static 基本框架 пре 6 година
wechat @ 5e21b59049 ytj пре 6 година
.babelrc xcx пре 6 година
.editorconfig 基本框架 пре 6 година
.gitattributes xcx пре 6 година
.gitignore xcx пре 6 година
README.md xcx пре 6 година
package-lock.json ytj пре 6 година
package.json xcx пре 6 година

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.