docs: add more instruction for yarn (#2042)

This commit is contained in:
howarddo
2023-04-20 12:25:10 +07:00
committed by GitHub
parent 031ab2cfa2
commit 227f59cadc
3 changed files with 11 additions and 0 deletions

View File

@@ -31,6 +31,15 @@ nvm use 18
## Setup Environment
This setup requires modern yarn (currently `3.5.0`), run this if your yarn version is `1.x`
Reference: [Yarn installation doc](https://yarnpkg.com/getting-started/install)
```sh
corepack enable
corepack prepare yarn@3.5.0 --activate
```
```sh
# install dependencies
yarn install