# wepy2-template **Repository Path**: hlgshare/wepy2-template ## Basic Information - **Project Name**: wepy2-template - **Description**: wepy2模版 + 常用封装的方法 - **Primary Language**: 微信 - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-07-27 - **Last Updated**: 2022-01-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # wepy2-template 格式:eslint + prettier ### src/api/ #Axios > http.js #请求封装 > index.js #暴露接口 ### assets/ 静态资源 less > .base.less #全局样式 ### common 实例化 wepy ### components 组件 ### mixins 混合 > comAuth.js #授权 > common.js #通用 > comStore.js #存储 ### pages 页面 > index.wepy #过度页 > home.wepy #首页 > mine.wepy #我的 ### store 存储 > index.js #Vuex ### utils 工具 > .tools.wxs #和混合区分,wxs 只能作用于 template 范围 ### app.wpy 全局配置