hxl13994548489 515e558d83 提交uniapp代码 | 2 luni în urmă | |
---|---|---|
src | 2 luni în urmă | |
.env | 2 luni în urmă | |
.gitignore | 2 luni în urmă | |
LICENSE | 2 luni în urmă | |
README.md | 2 luni în urmă | |
index.html | 2 luni în urmă | |
jsconfig.json | 2 luni în urmă | |
package.json | 2 luni în urmă | |
pnpm-lock.yaml | 2 luni în urmă | |
vite.config.js | 2 luni în urmă |
https://www.bilibili.com/video/BV16N4y1d7MM
16.13.1
前端技术栈:uni-app、ES6、Vue3、Vite、Pinia;
# 安装依赖 (需安装nodejs环境, 使用npm国内镜像)
$ npm install --registry=https://registry.npmmirror.com
更推荐用vscode或者webstorm开发,所以请不要使用hbuilder启动。
# npm 运行
npm run dev:h5
├── pages // 页面
│ ├── index // 入口页面
│ ├── user // 用户相关
│ ├── public // 公共页面
│ ├── activity // 活动页面
│ ├── app // 积分、签到页面
│ ├── chat // 客服页面
│ ├── commission // 分销页面
│ ├── coupon // 优惠券页面
│ ├── goods // 商品页面
│ ├── order // 订单页面
│ ├── pay // 支付页面
├── sheep // 底层依赖/工具库
│ ├── api // 服务端接口
│ ├── components // 自定义功能组件
│ ├── config // 配置文件
│ ├── helper // 助手函数
│ ├── hooks // vue-hooks
│ ├── libs // 自定义依赖
│ ├── platform // 第三方平台登录、分享、支付
│ ├── request // 请求类库
│ ├── router // 自定义路由跳转
│ ├── scss // 主样式库
│ ├── store // pinia状态管理模块
│ ├── ui // 自定义UI组件
│ ├── url // cdn图片地址格式化
│ ├── validate // 通用验证器
│ ├── index.js // Shopro入口文件
├── uni_modules // dcloud第三方插件