Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docs: use new nuxi module add command in installation #244

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading