Teleport is showing Extraneous non-props attributes (for shared props) #608
Unanswered
sentiasa
asked this question in
Help (Vue)
Replies: 1 comment
-
Found the issue. I didn't wrap all elements it in a parent div in my Index.vue component. 🤦♂️ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use teleport feature of vue 3 (by using options api) and having the target div in my body (outside vue/inertiajs)
Index.vue
MyModal.vue
This is throwing me
where my shared inertia props are "errors, isAdmin, businesses, currentBusiness"
If I try to move
<teleport>
in my Index.vue and addv-bind="$attrs
to teleport element, it doesn't show this error.Index.vue
Can anyone please guide me on what I am doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions