react-native-training/create-rn-web-app

Name: create-rn-web-app

Owner: React Native Training

Description: Project Generator for React Native Web

Created: 2017-09-06 23:42:43.0

Updated: 2018-03-20 06:06:28.0

Pushed: 2017-09-08 15:53:26.0

Homepage: http://www.reactnative.training

Size: 4140

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

React Native Web Project Generator

This app works on React Native (iOS, Android, AppleTV) and web.

To get started, install the create-rn-web-app cli globally
i -g create-rn-web-app
To create a new React Native Web app
  1. Run create-rn-web-app
    te-rn-web-app MyProject
    

cli

To run on web:
  1. Run npm run web
    run web
    

This starts the webpack server.

  1. Open localhost:8080 in your browser to view the app.
Building for React Native (iOS, Android, AppleTV)

iOS: Run react-native run-ios

t-native run-ios 

This start the packager as well as the iOS simulator.

Android: Run react-native run-android

t-native run-android

This start the packager as well as the Android emulator.

Use the command line, Xcode or Android Studio to build and deploy the native app code just like you would with any other React Native project.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.