-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
Build error encountered when setting multi-word kebab-case attribute on icon #285
Comments
I'm not sure what you are trying to do there, but you are most likely doing it wrong. That icon has no text nodes, so setting |
Thank you for the reply. I am trying to make the icon larger and it does in fact achieve this -- see the Stackblitz repro link. Your suggestion makes sense, thank you! I probably should have used However, Edit: I've been able to reproduce this with other multi-word presentation attributes like |
Actually, you are correct. While older docs refer to it as applicable only to text elements, newer spec allows it on any element, so it should be usable on Very weird use case, I've never seen it used like that, but it is a valid use case. So it is a bug. |
After a bit more digging, it does seem to likely be a
It seems that when the attribute is defined as kebab-case it is translated to camelCase which does not match the Please feel free to close if this is out of scope for this project. |
Describe the bug
Hi, thanks for the awesome project! I recently attempted an upgrade to Vue 3.3 and encountered an error when trying to build the project. Build worked fine before the upgrade.
I did some testing in the linked repro and discovered that the error occurs even with Vue 3.2.47 when upgrading
vue-tsc
from 1.4.3 to 1.4.4, and it persists to the latest version ofvue-tsc
. See this fork of the repro. Perhaps this issue is relevant: vuejs/language-tools#2676.I get this error when attempting to build (everything displays fine otherwise):
Am I doing something wrong that just happened to work previously? The error is a bit confusing since it seems to suggest that I need to use
font-size
... but I am usingfont-size
lol.Reproduction
https://stackblitz.com/edit/vitejs-vite-pg2ydf?file=package.json
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: