Slot issue
#494
Replies: 1 comment 1 reply
-
I fought with it about hour, seven minutes after posting it, I found solution :) The solution is, add: rules: {
"vue/no-deprecated-slot-attribute": "off",
}, to your |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi. According to docs, it's the way to use slots in Vue:
<div slot="room-header">This is a new room header</div>
It's not working in Vue 3, obviously. So I changed it with:
<template #room-header>This is a new room header</template>
It's not working too. The error message I receive:
[plugin:vite:vue] Codegen node is missing for element/if/for node. Apply appropriate transforms first.
What is going on? It's Vue3 Composition API with Vite and NODE v.18.18.1.
PS.
Beta Was this translation helpful? Give feedback.
All reactions