зеркало из https://github.com/microsoft/reactxp.git
6543af8961
Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/sideway/formula/releases) - [Commits](https://github.com/sideway/formula/compare/v3.0.0...v3.0.1) --- updated-dependencies: - dependency-name: "@sideway/formula" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
android | ||
ios | ||
jest | ||
scripts | ||
src | ||
web | ||
windows | ||
.eslintrc | ||
.gitignore | ||
README.md | ||
babel.config.js | ||
index.js | ||
metro.config.js | ||
package-lock.json | ||
package.json |
README.md
RXPHelloWorld
This app works on React Native (iOS, Android, Windows) and web. The commands in the instructions below assume you are in the root of this repo.
Building
- From the hello-world-js directory, run
npm install
. This fetches the dependencies.
To run your app on Web:
npm run start:web
To build Web production version of your app:
npm run build:web
To run your app on iOS:
npm run start:ios
- or -
open ios/RXPHelloWorld.xcodeproj project in Xcode press the Run button
To run your app on Android:
Have an Android emulator running (quickest way to get started), or a device connected
npm run start:android
- or -
open android/ project in Android Studio press the Run button
To run your app on Windows:
npm run start:windows
- or -
open windows/RXPHelloWorld.sln project in Visual Studio press the Run button