Skip to content

Commit 9f99d2a

Browse files
committed
edit readme
1 parent d82d5e6 commit 9f99d2a

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.idea/workspace.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,48 +22,46 @@
2222

2323
## Getting Started
2424

25-
1. Create a new project using the template.
25+
### Usage RN 0.64.1
2626

27-
- **Note:** the command will fail if you have the global legacy react-native-cli installed. Make sure you uninstall it first. More info at [react-native-community/cli](https://github.com/react-native-community/cli#about).
28-
29-
## Usage RN 0.64.1
27+
- Create a new project using the template.
3028

3129
```bash
3230
npx react-native init MyApp --template @thiendangit1102/rn-typescript-graphql
3331
```
3432

35-
2. Cd into directory
33+
- Cd into directory
3634

3735
```
3836
cd MyApp/
3937
```
4038

41-
3. Create .env
39+
- Create .env
4240

4341
```
4442
cp .env.example .env
4543
```
4644

47-
4. Add to .env
45+
- Add to .env
4846

4947
```
5048
API_URL=<YourGraphqlApiUrl>
5149
DEV_SERVER_IP=<YourDevGraphqlApiUrl>
5250
```
5351

54-
5. Install dependencies using npm
52+
- Install dependencies using npm
5553

5654
```
5755
npm i or yarn install
5856
```
5957

60-
6. Pod install
58+
- Pod install
6159

6260
```
6361
npm run pod
6462
```
6563

66-
7. run device
64+
- run device
6765

6866
```
6967
npm run ios or yarn ios

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thiendangit1102/rn-typescript-graphql",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "React Native TypeScript Apollo Graphql Boilerplate",
55
"scripts": {
66
"publish": ""

0 commit comments

Comments
 (0)