orYoffe / rn-nav

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:JavaScript 39.9%Language:Java 25.8%Language:Objective-C 18.4%Language:HTML 7.6%Language:Ruby 3.1%Language:CSS 2.7%Language:Starlark 2.5%