mvue-l
v0.1.0
Published
vue multiple page cli
Downloads
3
Readme
vue多页脚手架
适合移动和pc端多页开发(pc端需删除src/utils/setFontSize.js)
npm install
npm run new page1 page2 page3 // 新建页面 page1,page2,page3
npm run serve // 打开localhost:8080
本地开发
npm run dev
打包上线
npm run build
mock接口
npm run mock
新建页面
npm run new pageName
- /cli node脚本
- createPage.js 新建页面
- mock.js mock数据
- title.js 各个页面的标题
- /src 开发目录