uni-app-template:uni-app 通用模板

上传者: 42160398 | 上传时间: 2022-09-20 19:53:16 | 文件大小: 55KB | 文件类型: ZIP
uni-app 通用模板 官网地址 平台兼容说明 模板说明: 基于cli创建的轻量化项目模板,只保留vue最基础的使用方式,保证打包到多端时不需要作太多判断处理 状态管理不建议使用vuex,因为会导致代码变得冗余,而且在编辑器中失去代码静态追踪和提示“”使用方式可参考: 模板为了轻量化只保留了常用的组件,需要其他组件自行添加,,这里不推荐使用除官方外的扩展组件,因为打包成多端可能会有兼容问题,所以我习惯自己写,这样代码会更少 已经配置好在manifest.json文件中h5端请求代理,不需要可剔除 预装了sass,部分注意事项请看uni.scss代码注释 注意:vue.config.js 中配置的 css.loaderOptions 是无法在当前项目生效的,可能是uni-app项目设定和标准vue-cli项目设定不一样导致的,需要在uni.scss文件全局引入即可,具体看代码 目录说明

文件下载

资源详情

[{"title":"( 45 个子文件 55KB ) uni-app-template:uni-app 通用模板","children":[{"title":"uni-app-template-master","children":[{"title":"package.json <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"sfc.d.ts <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"App.vue <span style='color:#111;'> 530B </span>","children":null,"spread":false},{"title":"manifest.json <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"api","children":[{"title":"common.ts <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"static","children":[{"title":"home_on.png <span style='color:#111;'> 805B </span>","children":null,"spread":false},{"title":"default_head.png <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"personal_off.png <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"logo_zfb.png <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"logo.png <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"none_data.png <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"home_off.png <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"logo_wx.png <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"personal_on.png <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.ts <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"mixins","children":[{"title":"LoadMore.ts <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"pages","children":[{"title":"taBarHome","children":[{"title":"personal.vue <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"home.vue <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"details.vue <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"list.vue <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"pages.json <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"uni.scss <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"components","children":[{"title":"UploadImage.vue <span style='color:#111;'> 4.45KB </span>","children":null,"spread":false},{"title":"PickerDate.vue <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false},{"title":"TheFooter.vue <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"TheButton.vue <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"LoadMoreTip.vue <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"styles","children":[{"title":"mixins.scss <span style='color:#111;'> 748B </span>","children":null,"spread":false},{"title":"variable.scss <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":"loading.scss <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"global.scss <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false}],"spread":false},{"title":"utils","children":[{"title":"Control.ts <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"Config.ts <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"interfaces.ts <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"request.ts <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"TheSdk.ts <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 6.88KB </span>","children":null,"spread":false}],"spread":false},{"title":"store","children":[{"title":"AppOption.ts <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 253B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"index.html <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"postcss.config.js <span style='color:#111;'> 729B </span>","children":null,"spread":false},{"title":"babel.config.js <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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