All Projects → react-native-training → create-rn-web-app

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

Licence: other
Project Generator for React Native Web

Programming Languages

javascript
184084 projects - #8 most used programming language
objective c
16641 projects - #2 most used programming language
python
139335 projects - #7 most used programming language
java
68154 projects - #9 most used programming language

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

npm i -g create-rn-web-app

To create a new React Native Web app

  1. Run create-rn-web-app
create-rn-web-app MyProject

cli

To run on web:

  1. Run npm run web
npm 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

react-native run-ios 

This start the packager as well as the iOS simulator.

Android: Run react-native run-android

react-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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].