Skip to content

Commit

Permalink
docs: use new nuxi module add command in installation (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 10, 2024
1 parent 1968bec commit 9c80869
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions docs/content/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,9 @@ The current version of `@nuxtjs/color-mode` is compatible with [Nuxt 3 and Nuxt
::

Add `@nuxtjs/color-mode` dependency to your project:

::code-group
```bash [Yarn]
yarn add --dev @nuxtjs/color-mode
```
```bash [NPM]
npm install --save-dev @nuxtjs/color-mode
```bash
npx nuxi@latest module add color-mode
```
```bash [PNPM]
pnpm i --save-dev @nuxtjs/color-mode
```
::

Then, add `@nuxtjs/color-mode` to the `modules` section of your `nuxt.config.ts`

Expand Down

0 comments on commit 9c80869

Please sign in to comment.