docs: include --frozen-lockfile when installing dependencies (#28794)

This commit is contained in:
Joaquín Sánchez 2024-09-03 10:42:26 +02:00 committed by Daniel Roe
parent d0ae9821b3
commit 7f6d34961f
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -25,9 +25,9 @@ To contribute to Nuxt, you need to set up a local environment.
```bash [Terminal] ```bash [Terminal]
corepack enable corepack enable
``` ```
4. Run `pnpm install` to Install the dependencies with pnpm: 4. Run `pnpm install --frozen-lockfile` to Install the dependencies with pnpm:
```bash [Terminal] ```bash [Terminal]
pnpm install pnpm install --frozen-lockfile
``` ```
::note ::note
If you are adding a dependency, please use `pnpm add`. :br If you are adding a dependency, please use `pnpm add`. :br