-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: @nuxtjs/color-mode has not being installed by shadcn-nuxt #864
[Bug]: @nuxtjs/color-mode has not being installed by shadcn-nuxt #864
Comments
Workaround:
Example: export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: true },
modules: ["@nuxtjs/tailwindcss", "shadcn-nuxt", "@nuxtjs/color-mode"],
colorMode: {
classSuffix: "",
},
}); |
Just for the information: upgrading to Nuxt 3.14.159 (that includes nuxt/nuxt#29799 fix) doesn't help. I mean,
|
Hi, could you guys test it with the latest Nuxt version |
The issue persists with Nuxt v3.14.159. The problem is |
Yeah I have seen the error after testing with @selemon-dev, If it is only updating the nuxt.config then |
What Nuxt PR? If you mean nuxt/nuxt#29799 than it is already merged into Manually adding |
Hey @sadeghbarati, the |
Just a quick update - as others mentioned, error still persists with nuxt |
Reproduction
https;//stackblitz.com/edit/nuxt-starter-pc9prp
Describe the bug
The documentation for Dark Mode states that shadcn-nuxt installs the
color-mode
module automatically. However, this does not happen.System Info
Contributes
The text was updated successfully, but these errors were encountered: