Skip to content

Removal of fragments makes it difficult to deal with certain elements. #1129

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

Closed
trusktr opened this issue Jan 16, 2018 · 3 comments
Closed

Comments

@trusktr
Copy link

trusktr commented Jan 16, 2018

Certain components, for example ones that need to render two <tr> elements, do not work without fragments.

In the <tr> case, an ugly workaround might be to create a new component that renders slot, then wrap the <tr>s in that wrapper component so that they get slotted into the no-op wrapper.

( P.S. @LinusBorg, this isn't a question, it's an issue. 😊 )

@LinusBorg
Copy link
Member

( @LinusBorg, this isn't a question, it's an issue. )

It's a feature request, I would say, and has nothing to do with vue-loader.

We already have an issue for this in the appropriate repository (vue)

vuejs/vue#7088

@trusktr
Copy link
Author

trusktr commented Jan 16, 2018

@LinusBorg Sorry about that, it seemed like a vue-loader issue initially based on that other issue. I add some thoughts over there. 😊

@LinusBorg
Copy link
Member

No problem. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants