diff --git a/docs/content/1.index.md b/docs/content/1.index.md index d9564275..9d18e465 100644 --- a/docs/content/1.index.md +++ b/docs/content/1.index.md @@ -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`