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 fails with camelCase #1680

Open
ReyFelipe opened this issue Mar 17, 2023 · 0 comments
Open

V-slot naming inside DOM template fails with camelCase #1680

ReyFelipe opened this issue Mar 17, 2023 · 0 comments
Labels

Comments

@ReyFelipe
Copy link

The fix for this issue is in the pull request: #1679

Fix details

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.

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.

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

No branches or pull requests

2 participants