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:
RhysJosmin 2023-12-04 16:15:49 +05:30 committed by GitHub
parent a5e10a8606
commit 9df46670a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: