React Native boilerplate with redux
, react-navigation
, antd-mobile
pre-configured. Based on CRNA.
## Installation
# fetch this boilerplate
git clone https://github.com/tomtwo/react-native-boilerplate
# wipe out current git folder
cd react-native-boilerplate
rm -rf .git
# install dependencies
yarn # or npm install
- Preferred: use XDE.
- Alternatively:
npm run start
Configuration is loaded from .env
using react-native-dotenv
. Create a .env
file, populate with KEY=VAL
entries, then use import { KEY } from 'react-native-dotenv
(not process.env
!). Variables are inlined at build time.
This project was bootstrapped with Create React Native App. You can see the original guide for CRNA here.