docs(installation): move pnpm first

This commit is contained in:
Benjamin Canac
2023-07-20 13:06:00 +02:00
parent 959c968420
commit beffde1849

View File

@@ -8,6 +8,10 @@ description: 'Learn how to install and configure the module in your Nuxt app.'
::code-group
```sh [pnpm]
pnpm i -D @nuxthq/ui
```
```bash [yarn]
yarn add -D @nuxthq/ui
```
@@ -16,10 +20,6 @@ yarn add -D @nuxthq/ui
npm install -D @nuxthq/ui
```
```sh [pnpm]
pnpm i -D @nuxthq/ui
```
::
2. Add it to your `modules` section in your `nuxt.config`:
@@ -131,4 +131,4 @@ Update your `package.json` to the following:
}
```
Then run `npm install` or `yarn install`.
Then run `pnpm install`, `yarn install` or `npm install`.