-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
New strictTemplates option causes issues with data-* attributes #1561
Comments
See #1418 (comment). |
A suggestion to manually add definitions for all attributes that are already valid HTML attributes doesn't really make sense to me. This applies both to And I suppose mine #1871 is a duplicate. |
I understand that there might be technical difficulties with solving it but if Volar strives to be user-friendly official Vue language server then it can't require everyone to do such basic things. We should at least keep some issue open for it so that it's clear that it's a bug (or something to solve at some point) and not make this suggestion an official response. Maybe the solution would be for volar to include definitions for known HTML attributes (would work for aria-* at least). |
FYI it was handle by |
It seems the fix for #1413 is not complete, I'm seeing
data-*
errors with the latest Volar andstrictTemplates
on.The text was updated successfully, but these errors were encountered: