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

<style> tag support #6

Closed
fehmi opened this issue Dec 29, 2020 · 4 comments · Fixed by #13
Closed

<style> tag support #6

fehmi opened this issue Dec 29, 2020 · 4 comments · Fixed by #13

Comments

@fehmi
Copy link

fehmi commented Dec 29, 2020

Description says it is supported but I can't get it to work.

image

@mustofa-id
Copy link

Same problem here.

@davbtmx
Copy link

davbtmx commented Mar 7, 2021

Using <style lang="postcss"> it worked for me.

@marblewraith
Copy link

marblewraith commented Apr 15, 2021

It's specifically the Volar extension, Vetur is more consistent. Notice the difference between main.pcss and the postcss embedded in the .vue file.

Volar

volar

Vetur

vetur

The author of Volar is aware of this, and referenced a completely different extension, language-postcss (see "Note" in the marketplace link):

The downside of language-postcss is, it does not support "Syntactical Looseness" as this one does.

@fehmi
Copy link
Author

fehmi commented Apr 15, 2021

I made a feature request about it in VS Code repo.

microsoft/vscode#113696

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

Successfully merging a pull request may close this issue.

4 participants