clarify location of .env

This commit is contained in:
Pedro Belo 2016-12-08 08:02:03 -08:00
parent 2b46b99f5c
commit 6da35ff40f

View File

@ -7,14 +7,14 @@ Bring some [12 factor](http://12factor.net/config) love to your mobile apps!
## Usage
Declare config variables in `.env`:
Create a new file `.env` in the root of your React Native app:
```
API_URL=https://myapi.com
GOOGLE_MAPS_API_KEY=abcdefgh
```
Then access from your app:
Then access variables defined there from your app:
```js
import Config from 'react-native-config'