mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-01 12:42:50 +08:00
Docs: replace the command to install relay/macro (#7262)
This commit is contained in:
committed by
Ian Sutherland
parent
9d70c7afab
commit
fc5ee76ae9
@@ -14,7 +14,7 @@ npm install --save babel-plugin-relay
|
||||
Alternatively you may use `yarn`:
|
||||
|
||||
```sh
|
||||
yarn upgrade babel-plugin-relay
|
||||
yarn add babel-plugin-relay
|
||||
```
|
||||
|
||||
Then, wherever you use the `graphql` template tag, import the macro:
|
||||
|
||||
Reference in New Issue
Block a user