Create-RX-App
ReactXP Project Generator
Installation
npm install create-rx-app -g
Usage
CLI
Usage: create-rx-app <project-directory> [options]
Options:
--javascript generate project in JavaScript
--yarn use yarn as package manager
--skip-install do not automatically install dependencies
--skip-jest do not automatically add Jest configuration
-h, --help output usage information
Creating an App
To create a new app, run:
create-rx-app AppName
This will create a directory called AppName inside the current working directory. Inside AppName, this will generate the initial project structure and install all of its dependencies. Once this installation is done, there are some commands you can run in the project directory:
npm run start:web
- runs the Web version of the app in the development modenpm run build:web
- builds the Web version of the app for production to the dist-web foldernpm run start:ios
- runs the iOS version of the app and attempts to open in the iOS Simulator if you're on a Mac and have it installednpm run start:android
- runs the Android version of the app and attempts to open your app on a connected Android device or emulatornpm run start:windows
- runs the Windows version of the appnpm run start:rn-dev-server
- runs react native (RN) development server
System Requirements
License and Copyright
This software is released under the terms of the MIT license.