Skip to content

Commit 538450d

Browse files
committed
docs: pnpm 설치 추가
1 parent f2cb622 commit 538450d

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

document/v4.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,23 @@
1414
### @tanstack/react-query
1515

1616
- v4부터 react-query에서 `@tanstack/react-query`로 패키지가 변경되었다. 따라서 설치와 import 할 때 주의해야 한다.
17-
- 또한, Devtools는 별도의 패키지 설치가 필요하다.
1817

19-
```
20-
npm i @tanstack/react-query
21-
or
22-
yarn add @tanstack/react-query
23-
```
18+
```bash
19+
$ npm i @tanstack/react-query
20+
# or
21+
pnpm add @tanstack/react-query
22+
# or
23+
yarn add @tanstack/react-query
24+
```
25+
- 또한, Devtools는 별도의 패키지 설치가 필요하다.
2426

25-
```
26-
npm i @tanstack/react-query-devtools
27-
or
28-
yarn add @tanstack/react-query-devtools
29-
```
27+
```bash
28+
$ npm i @tanstack/react-query-devtools
29+
# or
30+
$ pnpm add @tanstack/react-query-devtools
31+
# or
32+
$ yarn add @tanstack/react-query-devtools
33+
```
3034

3135
```js
3236
// v3

0 commit comments

Comments
 (0)