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

V-slot naming inside DOM template fix #1679

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

ReyFelipe
Copy link

@ReyFelipe ReyFelipe commented Mar 16, 2023

Modified the slot names from camelCase to kebab-case due the browser behaviour when you write the template directly inside the DOM. V-slot name is an attribute and the browser normalises that to all-lowercase. Also modified the README.md to display kebab-case instead of camelCase.

Modified the slot names from camelCase to kebab-case due the browser behaviour when you write the template directly inside the DOM.
V-slot name is and attribute and the browser normalise that to all-lowercase.
Also modified the README.md to display kebab-case instead of camelCase.
@ReyFelipe
Copy link
Author

While using this library with some colleagues, we ran into this issue and we think that the requested solution is the best fix. Would be greatly appreciated if you could accept so we can continue using the library.

@AlguerGalceran
Copy link

@shentao @akki-jat @mattelen any update for this issue?

@mattelen mattelen self-requested a review March 20, 2023 14:39
@mattelen
Copy link
Collaborator

This PR looks good, however, this introduces a breaking change around the naming of slots. The current version we are working towards that supports Vue 3 we want to avoid adding breaking changes where we can (see #1589 for the roadmap). Because of this, I'm keen to hold off releasing this, and have it as part of version 4

@mattelen mattelen added the 4.0 label Mar 21, 2023
@mattelen mattelen removed their request for review March 21, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants