docs: Use npx expo
instead of expo
for snippets (#2241)
updated The installation snippet from `expo install react-native-vision-camera` to `npx expo install react-native-vision-camera` since the The global expo-cli package has been deprecated.
This commit is contained in:
parent
a5e10a8606
commit
9df46670a8
@ -36,7 +36,7 @@ npx pod-install
|
|||||||
<TabItem value="expo">
|
<TabItem value="expo">
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
expo install react-native-vision-camera
|
npx expo install react-native-vision-camera
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
@ -111,7 +111,7 @@ Add the VisionCamera plugin to your Expo config (`app.json`, `app.config.json` o
|
|||||||
Finally, compile the mods:
|
Finally, compile the mods:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
expo prebuild
|
npx expo prebuild
|
||||||
```
|
```
|
||||||
|
|
||||||
To apply the changes, build a new binary with EAS:
|
To apply the changes, build a new binary with EAS:
|
||||||
|
Loading…
Reference in New Issue
Block a user