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 GitHub
parent aea31b554a
commit be2d3d5ad8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

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