Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.42 KB

EXAMPLE.md

File metadata and controls

54 lines (35 loc) · 1.42 KB

Examples

Get rn-placeholder on your computer by cloning this repo :

$ git clone https://github.com/mfrachet/rn-placeholder
$ cd rn-placeholder

Usage with Expo

Using the Expo projects tool

If you're familliar with Expo, you can take a look at the rn-placeholder-demo app.

You can also scan the following QR using Expo app :

Expo XDE

If you're currently using Expo XDE, simply open ./ExampleExpo inside of it, and share your project as usual (don't forget to npm install).

create-react-native-app

If you're currently using create-react-native-app

$ cd ExampleExpo
$ npm install
$ npm start

And then scan the QR inside of the Expo app

Usage with react-native-cli

If you're currently using react-native-cli, inside of rn-placeholder root folder :

$ cd Example
$ npm install
$ react-native run-ios
$ react-native run-android

Example with react-native-web

$ cd ExampleWeb
$ npm install
$ npm start