Skip to content

Conversation

privatenumber
Copy link
Contributor

@privatenumber privatenumber commented Feb 2, 2024

Currently doing a Vue 2.7 migration in an old codebase...

I was thinking it should be possible to autofix cases of the deprecated slot attribute where the element is not <template>, by wrapping it in a <template v-slot>.

This PR demonstrates it, and the auto-fixes worked fine in my codebase. Want to get feedback to see if I'm missing any edge-cases.

Copy link
Member

@FloEdelmann FloEdelmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 🙂

@FloEdelmann FloEdelmann requested a review from ota-meshi February 5, 2024 15:53
Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

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

Successfully merging this pull request may close these issues.

3 participants