Skip to content
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

Wrong rendering of slots #10982

Closed
ITrun90 opened this issue Jan 4, 2020 · 1 comment
Closed

Wrong rendering of slots #10982

ITrun90 opened this issue Jan 4, 2020 · 1 comment

Comments

@ITrun90
Copy link

@ITrun90 ITrun90 commented Jan 4, 2020

Have a look at the following sample:
https://codesandbox.io/s/small-waterfall-k6fit

As you can see, the rendered "th"s are above the table (in source-code) - but in the template they are inside the thead of the table.

This only happens when I do it the way I did in the example mentioned above.

The following code works as expected (here i used template literals instead of single-file component):

<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
Column 1 Column 2
<script> Vue.component('lbtable', { 'template': `
1 2
`});
new Vue({
	el: "#app"
});
</script>
@vue-bot

This comment has been minimized.

Copy link
Contributor

@vue-bot vue-bot commented Jan 4, 2020

Hello, thank you for taking time filling this issue!

However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).

I hope to see your helper-created issue very soon!

@vue-bot vue-bot closed this Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.