magic-script-components-react-native
v2.0.3
Published
Magic Script Components package for React Native.
Downloads
15
Readme
MagicScript Components ReactNative
Prerequisites
Make sure you have:
properly set up an environment for React Native (see React Native CLI Quickstart for iOS|Android),
installed MagicScript Command Line Toolkit:
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
- Move to the root directory of the project
cd AwesomeProject
- 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.