haruelrovix / jdv-react-native-web

Founder Session: React Native for Web

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 bundle size (minified) 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

Founder Session: React Native for Web


Languages

Language:JavaScript 86.3%Language:Objective-C 4.5%Language:Ruby 3.0%Language:Java 2.8%Language:HTML 2.0%Language:CSS 0.7%Language:Starlark 0.6%