Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.07 KB

README.md

File metadata and controls

42 lines (32 loc) · 1.07 KB

scommons-examples-mobile-todos-expo

Example expo react-native Todos application written in Scala.js from a great book: React Native in Action

TodoApp

How to Run App in your Device

How to Build/Run App locally using Expo

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