Skip to content

magic-script/magic-script-components-react-native

Repository files navigation

codecov JSX_CI Android_CI iOS_CI npm version npm downloads License

MagicScript Components ReactNative

Prerequisites

Make sure you have:

npm install -g magic-script-cli

 

Create a react native project

To create a sample project, type the command below and follow instructions in the wizard.

magic-script init

Remember to select:

  • Components app,
  • Landscape app type,
  • iOS or Android platform.

Build and run the project

  1. Move to the root directory of the project
cd AwesomeProject
  1. To build and run the project, type:
magic-script build ios

or

magic-script build android

This will build the app for the specified platform and will try to run in on a local emulator.