You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **run this script after the project is initialized.**
37
37
38
38
```
39
-
yarn upgradePeerdeps
39
+
pnpm upgradePeerdeps
40
40
```
41
41
42
42
### pod install
@@ -45,31 +45,31 @@ yarn upgradePeerdeps
45
45
> see [pod-install](https://www.npmjs.com/package/pod-install) for more information.
46
46
47
47
```
48
-
yarn podInstall
48
+
pnpm podInstall
49
49
```
50
50
51
51
### start ios app
52
52
53
53
```
54
-
yarn ios
54
+
pnpm ios
55
55
```
56
56
57
57
### start android app
58
58
59
59
```
60
-
yarn android
60
+
pnpm android
61
61
```
62
62
63
63
### start bundler
64
64
65
65
```
66
-
yarn start
66
+
pnpm start
67
67
```
68
68
69
69
### reset cache and start bundler
70
70
71
71
```
72
-
yarn start --reset-cache
72
+
pnpm start --reset-cache
73
73
```
74
74
75
75
### more information
@@ -83,13 +83,13 @@ yarn start --reset-cache
83
83
### build ios bundle
84
84
85
85
```
86
-
yarn build:rn --platform ios
86
+
pnpm build:rn --platform ios
87
87
```
88
88
89
89
### build Android bundle
90
90
91
91
```
92
-
yarn build:rn --platform android
92
+
pnpm build:rn --platform android
93
93
```
94
94
95
95
### release ios APP
@@ -197,7 +197,7 @@ This project supports web and mini program, but it has not been fully tested.
197
197
### start web server
198
198
199
199
```shell
200
-
yarn dev:h5
200
+
pnpm dev:h5
201
201
```
202
202
203
203
### Github workflows of Web
@@ -207,7 +207,7 @@ see [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages)
207
207
### start wechat mini program
208
208
209
209
```shell
210
-
yarn dev:weapp
210
+
pnpm dev:weapp
211
211
```
212
212
213
213
### Github workflows of Wechat Mini Program
@@ -232,6 +232,14 @@ values like ${{secrets.xxxxx}} are manually generated and store in your github e
232
232
cat private.$WEAPP_ID.key | base64 | pbcopy
233
233
```
234
234
235
+
## Harmony support
236
+
237
+
### start harmony
238
+
239
+
```shell
240
+
pnpm dev:harmony
241
+
```
242
+
235
243
## Attention
236
244
237
245
The source code is customized for the Taro playground application and is for reference only. If you want to use it directly, please make the following changes.
0 commit comments