We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
v-click
1 parent 7d7aad8 commit d00c18dCopy full SHA for d00c18d
1 file changed
packages/client/builtin/LightOrDark.vue
@@ -3,6 +3,8 @@ import { isDark } from '../logic/dark'
3
</script>
4
5
<template>
6
- <slot v-if="isDark" name="dark" />
7
- <slot v-else name="light" />
+ <div>
+ <slot v-if="isDark" name="dark" />
8
+ <slot v-else name="light" />
9
+ </div>
10
</template>
0 commit comments