To have NativeBase components running onto your native apps, all you need to do is create a fresh React Native project and install the NativeBase command line tools.
System Requirements
- Globally installed node >= 6.0
- Globally installed npm >= 4.0
- Globally installed React Native CLI which allow you to easily create and initialize projects.
- Click here to know about React Native version compatibility with NativeBase.
Create React Native project
react-native init AwesomeNativeBase
cd AwesomeNativeBaseInstall NativeBase
npm install native-base --saveYou've successfully setup NativeBase with your React Native app. Your React Native app is now all set to run on iOS and Android simulator.
Gif/video of a init new projet and adding a Button component to a new blank project(iOS and Android) goes here