nuxt-modules / color-mode

Dark and Light mode with auto detection made easy with Nuxt 🌗
https://color-mode.nuxtjs.org
MIT License
1.08k stars 99 forks source link

broken with nuxt 3.4 #190

Open jiblett1000 opened 1 year ago

jiblett1000 commented 1 year ago

Version

@nuxtjs/color-mode: 3.2 nuxt: 3.4

Reproduction Link

I tried creating a fork of the codesandbox, but it was just endlessly stalled. I can create a repro if absolutely necessary for this.

Steps to reproduce

Have working color mode in app. Upgrade to nuxt to 3.4. Color mode doesn't change anymore.

What is Expected?

What is actually happening?

botmaster commented 1 year ago

Same here.


@vueuse/nuxt: ^9.13.0
@nuxt/content: ^2.5.2
@nuxtjs/color-mode: ^3.2.0
@nuxtjs/eslint-config-typescript: ^12.0.0
@nuxtjs/fontaine: ^0.2.4
@nuxtjs/tailwindcss: ^6.6.5
@types/node: ^18.15.11
@typescript-eslint/parser: ^5.58.0
color2k: ^2.0.2
consola: ^3.0.1
eslint: ^8.38.0
eslint-config-prettier: ^8.8.0
eslint-plugin-prettier: ^4.2.1
nuxt: ^3.4.0
nuxt-headlessui: ^1.1.1
nuxt-icon: ^0.3.3
nuxt-simple-robots: ^2.1.1
nuxt-simple-sitemap: ^2.4.11
prettier: ^2.8.7
sass: ^1.62.0
typescript: ^4.9.5
vite-svg-loader: ^4.0.0
vue-tsc: ^1.2.0 
IzakJackson commented 1 year ago

I also have this issue. Have you found a workaround?

d0rich commented 1 year ago

I also have this issue. Have you found a workaround?

@IzakJackson only explicitly install nuxt 3.3.3 (last version before 3.4.0)

abdonrd commented 1 year ago

Looks like Nuxt v3.4.1 fixes it: https://github.com/nuxt/nuxt/releases/tag/v3.4.1