Skip to content

Commit 46ddf84

Browse files
rulishuxingyuefeng
authored andcommitted
fix: 修改ios环境安装README
1 parent b759617 commit 46ddf84

File tree

1 file changed

+4
-0
lines changed
  • website/src/pages/docs/environment-setup/ios

1 file changed

+4
-0
lines changed

website/src/pages/docs/environment-setup/ios/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ $ pod install
162162

163163
```shell
164164
npx react-native start
165+
# or 进入项目根目录
166+
yarn start
165167
```
166168

167169
`react-native start` 启动 Metro Bundler。
@@ -178,6 +180,8 @@ npx react-native start
178180

179181
```bash
180182
npx react-native run-ios
183+
# or 进入项目根目录
184+
yarn run ios
181185
```
182186

183187
您应该很快就会看到您的新应用程序在 iOS 模拟器中运行。

0 commit comments

Comments
 (0)