You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use the tree-navigation-component.
I include it via the script tag at the end of the body in the html
`<script src="https://unpkg.com/vue@latest"></script>
<script src="https://unpkg.com/vue-tree-navigation@4.0.0/dist/vue-tree-navigation.js"></script>
I try to use the tree-navigation-component.
<script src="assets/js/vue-app-uebung.js"></script>`I include it via the script tag at the end of the body in the html
`<script src="https://unpkg.com/vue@latest"></script>
<script src="https://unpkg.com/vue-tree-navigation@4.0.0/dist/vue-tree-navigation.js"></script>
In vue-app.uebung.js, when I say
console.log(VueTreeNavigation.template)
it gives me undefined.
When I include the component somewhere, it give me the error Component is missing template or render functioin.
When I add the line
VueTreeNavigation.template = "<div>Hello, my name is Florian</div>
then the error disappears.
I am using Vue3. What do I do wrong?
The text was updated successfully, but these errors were encountered: