runtime-core.esm-bundler.js:38 [Vue warn]: Property "_isVue" was accessed during render but is not defined on instance.
at <Content>
at <App>
warn @ runtime-core.esm-bundler.js:38
get @ runtime-core.esm-bundler.js:6877
s.J @ preference-object.js:58
s.get @ preference-object.js:36
get @ preference.js:12
reactiveEffect @ reactivity.esm-bundler.js:42
get value @ reactivity.esm-bundler.js:876
get @ runtime-core.esm-bundler.js:3090
_sfc_render @ Content.vue:2
<button round @click="theme = theme == 'dark' ? 'light' : 'dark'">
<script>
computed: {
theme: preference('activeTheme', { defaultValue: 'dark' })
}
</script>
I also tried the programmatic approach but the value doesnt update.