Closed mrleblanc101 closed 4 months ago
Probably related to: https://github.com/nuxt-modules/color-mode/issues/168
Same problem here.
@kwiat1990 Did you actually read the documentation ?
Yeah, I have but I thought it should work a bit different than it is actually does because of an odd rendering issue while combining color mode with another Nuxt module for icons. For some reason text or any custom components were correctly rendered and updated based on color preference/color unknown property but it didn't work with icon component, so that rendering different icons with v-if/v-else
based on $colorMode.unknown
condition didn't worked. I guess it must be a problem with icon modules or in general with rendering of SVG elements.
Do you still experience this? This is not reproducible for me.
Let me know if so and I'll happily reopen.
Version
@nuxtjs/color-mode: 3.2.0 nuxt: 3.0.0
Reproduction Link
Steps to reproduce
What is Expected?
There should be no type error.
What is actually happening?
I get this error.