Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

angular/react-native-renderer

 
 

Join the chat at https://gitter.im/angular/react-native-renderer Build Status

angular2-react-native

Use Angular 2 and React Native to build applications for Android and iOS.

Documentation

http://angular.github.io/react-native-renderer/

Development

Preparing your environment

  • Set up React Native for iOS and/or Android following Getting started and Android setup
  • Clone this repository or a fork of it
  • Install Gulp, React Native CLI and Typings globally: npm install -g gulp react-native-cli typings
  • Install local npm modules: npm install

Running scripts

Creating the sample project:

  • gulp init to create the react-native project

Android:

  • gulp start.android to launch the sample on the connected device or emulator, and watch sources for auto update (if enabled in F2/shake dev menu)
    use the Reload JS button after the initial red screen

iOS:

  • gulp start.ios to launch the sample on an emulator, and watch sources for auto update (it will fail the first due to initial compilation, simply restart it)
  • OR, gulp watch and open .dist/app/ngReactNative/ios/ngReactNative.xcodeproj in Xcode and hit Run

Tests:

  • gulp test.node to run tests in Node
  • gulp test.browser to run tests in Chrome

Doc: gulp doc to generate the documentation in ./dist/doc

About

Use Angular and React Native to build applications for Android and iOS

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 13