Open jannikbuscha opened 1 year ago
Are you per chance using a Take Over mode?
Are you per chance using a Take Over mode?
I get the same errors whether Take Over Mode is enabled or disabled. I have proceeded according to this:
Edit: vscode setup:
If you have problem with ColorScheme
try this way instead
<template>
<button @click="toggleDark()">
<ClientOnly>
<Icon v-if="colorMode.value === 'dark'" ...>
<Icon v-else ...>
<template #fallback>
// something default
</template>
</ClientOnly>
</button>
</template>
Hi, I'm just setting up the project and I'm getting 2 errors in vscode.
These errors do not affect the functionality of the project, but I find them a bit annoying during development.
List.vue:
ColorModeSwitch.vue:
Is it only me who has these errors and how can I fix them?
I might have already found a solution for the first error:
For the second one I haven't found anything yet, but I don't seem to be the only one with this problem: https://github.com/nuxt-modules/color-mode/issues/168