/vue-cli-multipage

基于vue-cli改造的webpack多页模板

Primary LanguageJavaScript

基于vue-cli 脚手架

A Vue.js multipage project vue最新版本 + webpack3 + es6 + scss

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

配置

多页面目录配置在 config/index.js里面的moduleName,默认是views

注意

�在views目录下每次新建一个页面目录,都需要重新编译执行

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