Skip to content

Lottid/muti-pro

Repository files navigation

muti-pro

基于Vue的多页应用

Build Setup

# install dependencies
npm install

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

# build for production with minification
npm run build

# 增加一个tmpl生成,pages下目录结构,从tmpls获取(默认new-tmpl)
npm run tmpl yourdir     

文件说明

  • pro.config.json----本地预览地址及反向代理设置
  • src/stores ---- 存放公用vuex模块,并增加了命名空间
export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations
}

About

vue 多页应用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published