/universe

React-Native + Next.js + React-Native-Web

Primary LanguageJavaScript

Universe

UNIVERSE

A minimal demo to get you started with universal apps.

React-Native + Next.js + React-Native-Web

Installation

From the root of this project run:

yarn bootstrap

Watch for changes in packages/core

At the root of this project run:

yarn watch

Run universe-web

In universe-web run:

yarn dev

Run universe-mobile (without Expo)

First open android-studio, then run an emulator by clicking Configure > AVD Manager.

Then run the following commands in separate terminal tabs.

Terminal tab 1:

As react-native does not like symlinks, this command will copy over all your local packages (powered by react-native-yarn-workspaces)

yarn watch

Terminal tab 2:

Start the metro bundler:

yarn start

Terminal tab 3:

Build the android version:

yarn android

Run universe-mobile (with Expo)

Same as without expo, but once it runs, you can easily have the app running on your phone thanks to the expo app.