Example expo react-native
Todos
application written in Scala.js
from a great book: React Native in Action
First, build the app with the following command:
sbt "project scommons-examples-mobile-todos-expo" fastOptJS
Then, please make sure you have expo-cli
installed globally:
npm i expo-cli@6 -g
To run the application locally, use the following command(s):
cd todos/expo
npm i #only on the first time and when upgrading
npx expo start --ios
#or:
npx expo start --web
#or:
npx expo start --android
To build web-assets, use the following command:
cd todos/expo
expo build:web --no-pwa