Skip to content

Commit e572c3c

Browse files
committed
docs: add pnpm instructions
1 parent dbfaa0b commit e572c3c

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

docs/content/1.index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cta:
1313
secondary:
1414
- Star on GitHub →
1515
- https://github.com/nuxt/image
16-
snippet: yarn add -D @nuxt/image
16+
snippet: pnpm add -D @nuxt/image
1717
---
1818

1919
#top

docs/content/2.get-started.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ You are reading the `v1` documentation compatible with **Nuxt 3** (experimental)
1414
Add `@nuxt/image@rc` as a development dependency to your project:
1515

1616
::code-group
17+
```bash [pnpm]
18+
pnpm add -D @nuxt/image@rc
19+
```
1720
```bash [yarn]
1821
yarn add --dev @nuxt/image@rc
1922
```
@@ -57,6 +60,10 @@ If an error occurs during installation:
5760
- Try to upgrade to latest versions:
5861

5962
::code-group
63+
```bash [pnpm]
64+
pnpm up @nuxt/image@rc
65+
```
66+
6067
```bash [yarn]
6168
yarn upgrade @nuxt/image@rc
6269
```

0 commit comments

Comments
 (0)