Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agileago/vue3-taro
vue3-oop(tsx)开发小程序
https://github.com/agileago/vue3-taro
Last synced: about 16 hours ago
JSON representation
vue3-oop(tsx)开发小程序
- Host: GitHub
- URL: https://github.com/agileago/vue3-taro
- Owner: agileago
- Created: 2022-03-12T10:47:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T05:42:39.000Z (about 1 year ago)
- Last Synced: 2024-04-16T09:18:29.602Z (10 months ago)
- Language: TypeScript
- Homepage:
- Size: 12.6 MB
- Stars: 18
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 使用vue3-oop开发小程序
- vue3
- tsx + vue3-oop
- 依赖注入## 开发
```shell
pnpm i
pnpm run dev
```然后打开微信开发者工具查看
### 开发h5
```shell
pnpm run dev:h5
```## 打包
类似vue-cli一样根据mode来加载环境变量
```shell
pnpm run dev --mode master
```会加载 `.env.master` 环境变量