Compiles error using slot inside component with specifying lang
of <template> as empty string.
#3046
Labels
🍰 p2-nice-to-have
Priority 2: this is not breaking anything but nice to have it addressed.
🐞 bug
Something isn't working
scope: compiler
Version
3.0.5
Reproduction link
https://codesandbox.io/s/sweet-pike-uof96
Steps to reproduce
https://codesandbox.io/s/sweet-pike-uof96
What is expected?
Vue compiles with default template language.
What is actually happening?
VueCompilerError: Invalid end tag.
Btw, if attributes resemble
<template lang=""></template>
is not allowed, the compiler should tell something relevant.It costs me some time to figure it out with
Invalid end tag
point to the end of slot-contained-component (</hello-world>
).The text was updated successfully, but these errors were encountered: