This is the source code from this tutorial.
$ git clone git@github.com:brunolemos/react-native-web-monorepo.git
$ cd react-native-web-monorepo
$ yarn
$ yarn workspace mobile start
- Run the project
- Via Xcode / Android Studio
- Open Xcode / Android Studio and press the Run button
- Via CLI
- Open a new terminal tab
$ cd packages/mobile
$ npm un -g react-native-cli
$ npm i -g @react-native-community/cli
$ react-native run-ios
orreact-native run-android
- Via Xcode / Android Studio