-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I just installed this library and imported to my Vue3 like what example presents. (import and app.use)
then I got this error.
That is stack:
TypeError: Cannot read properties of null (reading 'isCE')
at renderSlot (runtime-core.esm-bundler.js:2966:34)
at Proxy.ze (vue-awesome-sidebar.js:1:22054)
at renderComponentRoot (runtime-core.esm-bundler.js:902:44)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5615:57)
at ReactiveEffect.run (reactivity.esm-bundler.js:187:25)
at instance.update (runtime-core.esm-bundler.js:5729:56)
at setupRenderEffect (runtime-core.esm-bundler.js:5743:9)
at mountComponent (runtime-core.esm-bundler.js:5525:9)
at processComponent (runtime-core.esm-bundler.js:5483:17)
at patch (runtime-core.esm-bundler.js:5085:21)
Part of my code are as follows:
<template>
<VueAwesomeSideBar v-model:collapsed="collapsed" :menu="testMenu" v-model:miniMenu="miniMenu" vueRouterEnabel></VueAwesomeSideBar>
</template>
<script lang="ts" setup>
const miniMenu = ref(false)
const props = defineProps<{
collapsed: boolean
}>()
const testMenu: MenuItem[] = [
{
name: 'Dashboard',
icon: { class: 'material-icons-outlined', text: 'dashboard' },
children: [
{
href: '/c',
name: 'level 2.1',
},
]
}
]
</script>Metadata
Metadata
Assignees
Labels
No labels