Skip to content

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Jan 8, 2018
1 parent 28d4103 commit 7ac7bcd
Show file tree
Hide file tree
Showing 6 changed files with 3,643 additions and 4 deletions.
1 change: 1 addition & 0 deletions example/.watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
6 changes: 3 additions & 3 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"private": true,
"scripts": {
"start": "react-native start",
"start": "node node_modules/react-native/local-cli/cli.js start",
"reload": "adb reverse tcp:8081 tcp:8081 && adb shell input text rr",
"android": "react-native run-android",
"log-android": "react-native log-android"
"run-android": "node node_modules/react-native/local-cli/cli.js run-android",
"log-android": "node node_modules/react-native/local-cli/cli.js log-android"
},
"dependencies": {
"react": "16.0.0",
Expand Down
6 changes: 6 additions & 0 deletions example/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Do not use `npm`.

```bash
$ yarn
$ yarn run-android
```
2 changes: 1 addition & 1 deletion example/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react'
import { StyleSheet, View } from 'react-native'
import { StyleSheet } from 'react-native'
import { MapView } from 'react-native-baidumap-sdk'

export default () => <MapView style={StyleSheet.absoluteFill} />
Loading

0 comments on commit 7ac7bcd

Please sign in to comment.