-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
code
<template>
<div class="q-pa-md full-width">
<div
border="1px solid black"
style="height: 200px; border: 1px solid black"
>
<object-inspector :data="test" :expandLevel="1" />
</div>
</template>
<script>
import ObjectInspector from "vue-object-inspector";
export default {
name: "test",
components: {
ObjectInspector,
},
setup() {
return {
test: { use1: 1, user2: 2, test: [1, 2, 23, 45] },
};
},
</script>
I tried with both versions:
"vue-object-inspector": "^1.0.5", which i know works for sure in codepen
and
"vue-object-inspector": "^1.0.12", which is the latest version.
They both gave that same error.
the error when loading the page: (blank page is displayed )
vue-router.esm-browser.js?8bc4:3404 TypeError: Cannot read properties of undefined (reading '_c')
at Proxy.render (vue-object-inspector.umd.js?3abb:5175:1)
at renderComponentRoot (runtime-core.esm-bundler.js?9e79:896:1)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js?9e79:5580:1)
at ReactiveEffect.run (reactivity.esm-bundler.js?0a2b:185:1)
at instance.update (runtime-core.esm-bundler.js?9e79:5694:1)
at setupRenderEffect (runtime-core.esm-bundler.js?9e79:5708:1)
at mountComponent (runtime-core.esm-bundler.js?9e79:5490:1)
at processComponent (runtime-core.esm-bundler.js?9e79:5448:1)
at patch (runtime-core.esm-bundler.js?9e79:5038:1)
at mountChildren (runtime-core.esm-bundler.js?9e79:5234:1)
Metadata
Metadata
Assignees
Labels
No labels