-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template compile error when defining a default slot without a single root element. #828
Labels
Comments
Has your code sandbox reproduction changed? It doesn't display that error message any more, and the test passes as expected. |
You are right. I accidentally changed it. I restored the originial reproduction code which shows the error message: https://codesandbox.io/s/wox3y9zljl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
1.0.0-beta.20
Reproduction link
https://codesandbox.io/s/wox3y9zljl
Steps to reproduce
src/TestComponent.spec.js
What is expected?
That the test passes. The defined default slot contains a template string with two div elements next to each other and no single root element. In regular Vue templates there is no problem defining a default slot without a single root element when the slot content gets embedded inside another element.
What is actually happening?
The test fails and produces the mentioned template compile error.
The text was updated successfully, but these errors were encountered: