-
Notifications
You must be signed in to change notification settings - Fork 4
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
Hope support in the style tag in HTML and .vue file #3
Comments
Hey, can you provide an example for how CSS looks like in a .vue file? I haven't tried Vue before. |
You can see my vue code in codeSandbox example. |
If this ends up being implemented, we should also support <style>
p {
color: purple;
font-family: 'Comic Sans MS';
font-size: 2em;
}
</style>
<p>These styles...</p> Both |
Support for both Vue and Svelte will be quite awesome. One problem with the extension right now is that it doesn't take the context (document) into consideration because it assumes that everything is CSS. Right now it just checks if a word matches a certain regex pattern.
So in order to make this work, there should be some logic that checks whether the hover is inside If you have any suggestions for how to do that, you're welcome to share them. I'll think about it as well. |
any progress? |
Hey @tjx666 |
@dzhavat Yes, it would be helpful for vue and svelte users. Maybe we should also update the latest data. |
I guess you can implement a plugin to https://github.com/volarjs/plugins. |
as title...
The text was updated successfully, but these errors were encountered: