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

vscode cannot support postcss #386

Closed
GuihaiHU opened this issue Aug 15, 2017 · 1 comment
Closed

vscode cannot support postcss #386

GuihaiHU opened this issue Aug 15, 2017 · 1 comment
Labels

Comments

@GuihaiHU
Copy link

Info

  • Platform: Linux
  • Vetur version:0.9.3
  • VSCode version:1.14.2

Problem

I write my Vue project by VScode in Linux.There is a postcss.config.js in my workspace.

_ _20170815141809

And it works well when I build. However, My VScode are complaining that I don't write postcss correctly as follow:

_ _20170815141757

@HerringtonDarkholme
Copy link
Member

HerringtonDarkholme commented Aug 15, 2017

Vetur doesn't support postcss nesting. But you can use other postcss features like custom-property and @apply.

You can turn off style validation by configure option. vetur.validation.style. https://github.com/vuejs/vetur/blob/master/package.json#L133

More info and reasoning: microsoft/vscode#3907 (comment)

Broadly speaking, we will keep pace with vscode team.

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