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

Remove extraneous div #229

Merged
merged 1 commit into from Feb 9, 2017
Merged

Remove extraneous div #229

merged 1 commit into from Feb 9, 2017

Conversation

sirlancelot
Copy link

Vue 2.x allows multiple root elements when only one would be rendered. Using v-if with v-else ensures that only one component will get rendered.

I think this change is important because after version 1.0 is released, I feel like changes to the DOM should be kept to a minimum.

Vue 2.x allows multiple root elements when only one would be rendered. Using `v-if` with `v-else` ensures that only one component will get rendered.
@Atinux Atinux merged commit 072bc36 into nuxt:master Feb 9, 2017
@Atinux
Copy link
Member

Atinux commented Feb 9, 2017

Thanks @sirlancelot good catch!

@lock
Copy link

lock bot commented Nov 1, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 1, 2018
@danielroe danielroe added the 2.x label Jan 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants