Skip to content

Commit d302c62

Browse files
authored
doc: add pnpm installation alternative (#432)
1 parent 1f2b7de commit d302c62

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ First install Prettier and the plugin:
1010
npm i --save-dev prettier prettier-plugin-astro
1111
```
1212

13+
<details>
14+
<summary>Installation with pnpm</summary>
15+
16+
```shell
17+
pnpm add --save-dev prettier prettier-plugin-astro
18+
```
19+
</details>
20+
1321
Then add the plugin to your Prettier configuration:
1422

1523
```js

0 commit comments

Comments
 (0)