Skip to content

Jessom/vue-multiple-pages

Repository files navigation

vue-multiple-pages

使用vue-cli实现多页面开发,目录层级可以无限嵌套

git clone https://github.com/Jessom/vue-multiple-pages.git

directory

|- build                webpack相关
|- config               webpack配置相关
|- src                  工作目录
  |- common             资源文件
  |- components         公共组件
  |- module             页面文件
    |- index            主页面
      |- App.vue  
      |- index.html
      |- index.js
        ...
|- static               静态文件资源
  ...

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.

About

使用vue-cli开发多页面应用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages