vue-multi-page:一个基于vue-cli3.0的多页面的,适配移动端的基础脚手架

上传者: 42116650 | 上传时间: 2025-07-03 14:51:43 | 文件大小: 80KB | 文件类型: ZIP
该demo基于vue-cli3.0,可以用于移动端的多页面开发 vue-cli3.0是最新版本的vue官方脚手架,有着很多新功能以及简单的目录结构,详情请参考 同时,项目使用vw进行移动端适配,viewport如今已被大多数浏览器兼容。关于vue适配vw,详情可看《》 npm install //安装依赖 npm run serve //运行 vue-cli3.0的源码中,已经自带多页面配置的源码了。在文档中,也明确说明可以直接在pages属性上进行配置。 在根目录新建vue.config.js配置文件,这样配置即可。 module.exports = { pages: { index: { // entry for the page entry: 'src/index/index.js', // the source template

文件下载

资源详情

[{"title":"( 15 个子文件 80KB ) vue-multi-page:一个基于vue-cli3.0的多页面的,适配移动端的基础脚手架","children":[{"title":"vue-multi-page-master","children":[{"title":".gitignore <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 927B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 465.51KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"assets","children":[{"title":"css","children":[{"title":"reset.css <span style='color:#111;'> 562B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"views","children":[{"title":"index","children":[{"title":"index.vue <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 137B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":true},{"title":"about","children":[{"title":"index.vue <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 137B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"public","children":[{"title":"index.html <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"vue.config.js <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"babel.config.js <span style='color:#111;'> 52B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明