Skip to content

Commit 8b3f3a7

Browse files
authored
docs: use new nuxi module add command in installation (#471)
1 parent 5a7df9f commit 8b3f3a7

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
1. Add `@nuxtjs/html-validator` as a dev dependency to your project
2727

2828
```bash
29-
yarn add @nuxtjs/html-validator --dev # or npm install @nuxtjs/html-validator --save-dev
29+
npx nuxi@latest module add html-validator
3030
```
3131

3232
2. Add `@nuxtjs/html-validator` to the `modules` section of `nuxt.config.ts`

docs/content/0.index.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,9 @@ This module configures [`html-validate`](https://html-validate.org/) to automati
2121
## Quick start
2222

2323
### Install
24-
25-
::code-group
26-
```bash [pnpm]
27-
pnpm i -D @nuxtjs/html-validator
28-
```
29-
```bash [Yarn]
30-
yarn add @nuxtjs/html-validator --dev
31-
```
32-
```bash [npm]
33-
npm install @nuxtjs/html-validator --save-dev
34-
```
35-
::
24+
```bash
25+
npx nuxi@latest module add html-validator
26+
```
3627

3728
### nuxt.config.js
3829

0 commit comments

Comments
 (0)