Slot issue
#494
Replies: 1 comment
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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