Skip to content

Commit ce37cfb

Browse files
authored
Merge pull request #98 from anonymousRecords/doc/change-readme
Update README: Separate @types packages into devDependencies
2 parents f9bf403 + 2925da2 commit ce37cfb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,16 @@ Install below dependencies on your React app.
2929

3030
```sh
3131
# with yarn
32-
yarn add three @types/three @react-three/fiber shadergradient framer-motion
32+
yarn add three @react-three/fiber shadergradient framer-motion
33+
yarn add -D @types/three
3334

3435
# with npm
35-
$ npm i three @types/three @react-three/fiber shadergradient framer-motion
36+
npm i three @react-three/fiber shadergradient framer-motion
37+
npm i -D @types/three
3638

3739
# with pnpm
38-
$ pnpm add three @types/three @react-three/fiber shadergradient framer-motion
40+
pnpm add three @react-three/fiber shadergradient framer-motion
41+
pnpm add -D @types/three
3942
```
4043

4144
# Usage

0 commit comments

Comments
 (0)