JokerMac / vue-cli-multipage

vue-cli多页面应用

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

vue-cli多页面应用


Languages

Language:JavaScript 59.0%Language:CSS 30.2%Language:Vue 8.8%Language:HTML 2.0%