diff --git a/apps/www/src/content/docs/dark-mode/nuxt.md b/apps/www/src/content/docs/dark-mode/nuxt.md index 4bf1150c8..60859d6b7 100644 --- a/apps/www/src/content/docs/dark-mode/nuxt.md +++ b/apps/www/src/content/docs/dark-mode/nuxt.md @@ -7,7 +7,7 @@ description: Adding dark mode to your nuxt app. -### Install Dependencies + ### Add a mode toggle Place a mode toggle on your site to toggle between light and dark mode. +The `@nuxtjs/color-mode` module is automatically installed and configured during the installation of the `shadcn-nuxt` module, so you literally have nothing to do. + We're using [`useColorMode`](https://color-mode.nuxtjs.org/#usage) from [`Nuxt Color Mode`](https://color-mode.nuxtjs.org/). +Optional, to include icons for theme button. +```bash +npm install -D @iconify/vue @iconify-json/radix-icons +``` + ```vue