From 340e4cb7ecf1f052d7e54c5c3f1630834d7644db Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 3 Apr 2024 13:11:36 +0100 Subject: [PATCH 1/2] docs: use new `nuxi module add` command in installation --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index abdd13b..a8e014b 100755 --- a/README.md +++ b/README.md @@ -46,19 +46,19 @@ npm install -D eslint With `pnpm` ```bash -pnpm add -D @nuxtjs/eslint-module +npx nuxi@latest module add eslint ``` Or, with `yarn` ```bash -yarn add -D @nuxtjs/eslint-module +npx nuxi@latest module add eslint ``` Or, with `npm` ```bash -npm install -D @nuxtjs/eslint-module +npx nuxi@latest module add eslint ``` 2. Add `@nuxtjs/eslint-module` to the `modules` section of `nuxt.config.ts` From c20f14301b721c715b7ef3d4d0fa924ab7f6f318 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 3 Apr 2024 13:12:52 +0100 Subject: [PATCH 2/2] chore: remove dupes --- README.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/README.md b/README.md index a8e014b..89c928d 100755 --- a/README.md +++ b/README.md @@ -43,20 +43,6 @@ npm install -D eslint 1. Add `@nuxtjs/eslint-module` dependency to your project -With `pnpm` - -```bash -npx nuxi@latest module add eslint -``` - -Or, with `yarn` - -```bash -npx nuxi@latest module add eslint -``` - -Or, with `npm` - ```bash npx nuxi@latest module add eslint ```