You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
### 技术栈
|
|
|
|
|
|
|
|
|
|
- 前端框架:[uni-app](https://uniapp.dcloud.net.cn/) (Vue3 + TS)
|
|
|
|
|
- 状态管理:[pinia](https://pinia.vuejs.org/zh/)
|
|
|
|
|
- 组件库:[uni-ui](https://uniapp.dcloud.net.cn/component/uniui/uni-ui.html)
|
|
|
|
|
|
|
|
|
|
### 开发环境
|
|
|
|
|
|
|
|
|
|
- 开发工具: VS Code 、 HbuilderX 、 微信开发者工具
|
|
|
|
|
- Node 版本: v16.15.0
|
|
|
|
|
- pnpm 版本:v8.6.10
|
|
|
|
|
|
|
|
|
|
### 运行程序
|
|
|
|
|
|
|
|
|
|
1. 安装依赖
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
# npm
|
|
|
|
|
npm i --registry=https://registry.npmmirror.com
|
|
|
|
|
|
|
|
|
|
# pnpm
|
|
|
|
|
pnpm i --registry=https://registry.npmmirror.com
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
2. 运行程序
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
# 微信小程序端
|
|
|
|
|
npm run dev:mp-weixin
|
|
|
|
|
|
|
|
|
|
# H5端
|
|
|
|
|
npm run dev:h5
|
|
|
|
|
|
|
|
|
|
# App端
|
|
|
|
|
需 HbuilderX 工具,运行 - 运行到手机或模拟器
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
3. 微信开发者工具导入 `/dist/dev/mp-weixin` 目录
|
|
|
|
|
|