vue-base-project.zip

上传者: 38484721 | 上传时间: 2021-03-11 16:01:56 | 文件大小: 834KB | 文件类型: ZIP
UI组件 vant http发起请求 axios 路由router 目录说明 src 源码目录 |-- api 所有api接口 |-- assets 静态资源,images, icons, styles等 |-- components 公用组件 |-- router 路由,统一管理 |-- store vuex, 统一管理 |-- utils 工具类 |-- views 视图目录 | |-- home 模块名 | |-- |-- home-list.vue 列表页面 | |-- |-- home-add.vue 新建页面 | |-- |-- home-update.vue 更新页面 | |-- |-- components 模块通用组件文件夹 |-- settings.js 全局通用配置信息(请求超时时间配置等) 跨域配置 根目录下vue.config.js文件中搜索proxy属性,已添加案例 项目编译自动打包zip文件 已配置,build操作后自动在项目根目录生成zip文件 项目title 固定配置方法:setting.js文件中配置title属性。 通过路由动态配置方法:router/routers.js文件中配置路由时添加meta.title属性进行动态配置。 其他配置方法:代码中通过document.title进行配置。 baseURL配置 通过api/config/core.js中的axios.defaults.baseURL进行配置, 默认设置为api

文件下载

资源详情

[{"title":"( 54 个子文件 834KB ) vue-base-project.zip","children":[{"title":"public","children":[{"title":"index.html <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"说明文档.md <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"router","children":[{"title":"routers.js <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 481B </span>","children":null,"spread":false}],"spread":true},{"title":"main.js <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"time.js <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"validate.js <span style='color:#111;'> 6.10KB </span>","children":null,"spread":false},{"title":"arr.js <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"obj.js <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"storage.js <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"check.js <span style='color:#111;'> 3B </span>","children":null,"spread":false}],"spread":true},{"title":"store","children":[{"title":"index.js <span style='color:#111;'> 168B </span>","children":null,"spread":false}],"spread":true},{"title":"views","children":[{"title":"test","children":[{"title":"components","children":null,"spread":false},{"title":"test.vue <span style='color:#111;'> 164B </span>","children":null,"spread":false}],"spread":true},{"title":"features","children":[{"title":"404.vue <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"401.vue <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"home","children":[{"title":"components","children":null,"spread":false},{"title":"home.vue <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"components","children":null,"spread":false},{"title":"App.vue <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"images","children":[{"title":"401_images","children":[{"title":"401.gif <span style='color:#111;'> 160.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"404_images","children":[{"title":"404.png <span style='color:#111;'> 95.77KB </span>","children":null,"spread":false},{"title":"404_cloud.png <span style='color:#111;'> 4.65KB </span>","children":null,"spread":false}],"spread":true},{"title":"logo.png <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"base.css <span style='color:#111;'> 64B </span>","children":null,"spread":false},{"title":"home.css <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"settings.js <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"api","children":[{"title":"config","children":[{"title":"core.js <span style='color:#111;'> 4.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"home.js <span style='color:#111;'> 353B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"babel.config.js <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"vue.config.js <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"vue-base-project","children":[{"title":"index.html <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"img","children":[{"title":"logo.82b9c7a5.png <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false},{"title":"404_cloud.0f4bc32b.png <span style='color:#111;'> 4.65KB </span>","children":null,"spread":false},{"title":"404.a57b6f31.png <span style='color:#111;'> 95.77KB </span>","children":null,"spread":false},{"title":"401.089007e7.gif <span style='color:#111;'> 160.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"chunk-5998b237.7f8fd1d4.js <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"chunk-bf9f188c.783b04fe.js <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"chunk-vendors.95b3e72a.js <span style='color:#111;'> 132.97KB </span>","children":null,"spread":false},{"title":"chunk-41836cdc.70c493f3.js <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"chunk-219228a1.2b654a25.js.map <span style='color:#111;'> 20.99KB </span>","children":null,"spread":false},{"title":"chunk-vendors.95b3e72a.js.map <span style='color:#111;'> 657.73KB </span>","children":null,"spread":false},{"title":"chunk-bf9f188c.783b04fe.js.map <span style='color:#111;'> 5.79KB </span>","children":null,"spread":false},{"title":"app.f655c906.js <span style='color:#111;'> 5.74KB </span>","children":null,"spread":false},{"title":"chunk-5998b237.7f8fd1d4.js.map <span style='color:#111;'> 6.46KB </span>","children":null,"spread":false},{"title":"chunk-41836cdc.70c493f3.js.map <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"chunk-219228a1.2b654a25.js <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"app.f655c906.js.map <span style='color:#111;'> 22.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"css","children":[{"title":"app.b0402131.css <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"chunk-219228a1.32998cff.css <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"chunk-5998b237.b5b87007.css <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"chunk-bf9f188c.23598b05.css <span style='color:#111;'> 48B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 450.39KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 710B </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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