Skip to content

Commit aef2050

Browse files
committed
exponentize the examples 🤖
1 parent f37c8ee commit aef2050

File tree

2 files changed

+8
-23
lines changed

2 files changed

+8
-23
lines changed

README.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -176,30 +176,9 @@ const reducer = (
176176
```
177177

178178
### Examples
179-
The source includes a few [examples](/examples) that should help you get started. The example app from the GIF above can be found at `examples/Aviato`. You can run it as follows:
179+
The source includes a few [examples](/examples) that should help you get started. The example app from the GIF above can be found at `examples/Aviato`. You can also [view it with Exponent](https://exp.host/@rncommunity/aviato).
180180

181-
```bash
182-
git clone https://github.com/jmurzy/react-router-native
183-
184-
cd react-router-native/examples/Aviato
185-
npm install
186-
```
187-
188-
To deploy to iOS simulator:
189-
190-
```bash
191-
npm run ios
192-
```
193-
194-
—or—
195-
196-
To deploy to Android simulator:
197-
198-
```bash
199-
npm run android
200-
```
201-
202-
Route configuration for the example app can be found in `app/routes.js`. The __address bar__ shown in the demo is used for development only and can be disabled by removing the [`addressBar`](https://github.com/jmurzy/react-router-native/blob/b988ea696cca272296c424e7381df00944c9d062/examples/Aviato/app/routes.js#L23-L24) prop from the ``<Router>`` component.
181+
Route configuration for the example apps can be found in `app/routes.js`. The __address bar__ shown in the demo is used for development only and can be disabled by removing the [`addressBar`](https://github.com/jmurzy/react-router-native/blob/b988ea696cca272296c424e7381df00944c9d062/examples/Aviato/app/routes.js#L23-L24) prop from the ``<Router>`` component.
203182

204183
### Documentation
205184
Documentation can be found [here](/docs).

docs/Examples.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ To deploy to Android simulator:
2727
npm run android
2828
```
2929

30+
Or, [view the simple example with Exponent](
31+
https://exp.host/@rncommunity/react-native-router-simple-example).
32+
3033
### Aviato
3134

3235
To build and run the Aviato app:
@@ -51,3 +54,6 @@ To deploy to Android simulator:
5154
```bash
5255
npm run android
5356
```
57+
58+
Or, [view Aviato with Exponent](
59+
https://exp.host/@rncommunity/aviato).

0 commit comments

Comments
 (0)