vicentedealencar / react-pdv-example-reactxp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RXPHelloWorld

This app works on React Native (iOS, Android) and web. Most of the app's code is contained in App.tsx.

The commands in the instructions below assume you are in the root of this repo.

Initial Setup

  • Run npm install. This fetches the dependencies.

Building for Web

  • Run npm run web-watch. This compiles the TypeScript code and recompiles it whenever any files are changed.
  • Then index.html will open in your browser to view the result.

Building for React Native

  • Run npm run rn. This compiles the TypeScript code and recompiles it whenever any files are changed.
  • And then it starts the React Native Packager.
  • Use Xcode or Android Studio to build and deploy the native app code just like you would with any other React Native project.

About


Languages

Language:TypeScript 70.0%Language:Objective-C 16.3%Language:Python 6.4%Language:Java 5.4%Language:HTML 1.6%Language:JavaScript 0.2%