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
When using pug in my Vue component templates, and calling a named slot using the v-slot syntax I ran into some problems when using it without a slot prop.
The following is a happening:
This works: template(v-slot:slot-name="slotProp")
This does not: template(v-slot:slot-name)
This bug occurred in version 1.x already and was solved in #634,
so I'm confident it can be fixed in v2.x too.
Describe the bug
When using pug in my Vue component templates, and calling a named slot using the
v-slot
syntax I ran into some problems when using it without a slot prop.The following is a happening:
template(v-slot:slot-name="slotProp")
template(v-slot:slot-name)
This bug occurred in version 1.x already and was solved in #634,
so I'm confident it can be fixed in v2.x too.
Reproduction
https://github.com/joostdelange/vite-beta-pug-slot-bug
System Info
vite
version: v2.0.0-beta.7vue
version: v3.0.5pug
version v3.0.0Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.Cannot read property 'length' of undefined
The text was updated successfully, but these errors were encountered: