1
Watch
0
Star
0
Fork
0
Issue
1280103995
1280103995
pushedAt 8 months ago

1280103995/RN-Web-Demo

This repository was initiated with create-react-native-web-app

NPM

GitHub issues license GitHub top language npm

A simple CLI tool to start your React Native Web project to develop same app for IOS Android and Web

Installation

# Run create-react-native-web-app <project-directory>
$ npx create-react-native-web-app myApp

# if you previously installed this package globaly run this command first to uninstall the previous version:
# npm uninstall -g create-react-native-web-app

# cd into your <project-directory>
$ cd myApp

# Run Web/Ios/Android development
# Web
$ npm run web

# IOS (simulator)
$ npm run ios

# Android (connected device)
$ npm run android

Folder structure

myApp
├── android (When opening with Android studio, open this folder)
│   └── android project files
├── ios (When opening with Xcode, open this folder)
│   └── ios project files
├── public
│   ├── favicon.ico
│   ├── index.html
│   └── manifest.json
└── src
    └── project code

Resources

ucloud ads