react-native-training/create-xp-app

Name: create-xp-app

Owner: React Native Training

Description: ReactXP Project Generator

Created: 2017-05-05 04:09:28.0

Updated: 2018-05-23 06:32:47.0

Pushed: 2018-01-02 14:51:15.0

Homepage: null

Size: 61790

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

create-xp-app

ReactXP Project Generator

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

To get started, install the create-xp-app cli globally
i -g create-xp-app
To create a new ReactXP app
  1. Run create-xp-app
    te-xp-app MyProject
    

cli

To run on web:
  1. Run npm run web-watch
    run web-watch
    

This compiles the TypeScript code and recompiles it whenever any files are changed.

  1. Open index.html in your browser to view the result.
Building for React Native (iOS, Android, Windows)
  1. Run npm run rn-watch
    run rn-watch  
    

This compiles the TypeScript code and recompiles it whenever any files are changed.

  1. In another command prompt run npm start
    start
    

This starts the React Native Packager.

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.