Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 632 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 632 Bytes

vue-multi-page-demo

vue 多页面demo

思路:

将原先webpack-js入口改为每个页面的JS

将原先webpack-html入口模板改为每个页面html

A Vue.js project

Build Setup

# install dependencies
npm install

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

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

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