Vetur: vscode cannot support postcss

Created on 15 Aug 2017  路  1Comment  路  Source: vuejs/vetur

Info

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

wontfix

Most helpful comment

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: https://github.com/Microsoft/vscode/issues/3907#issuecomment-266676745

Broadly speaking, we will keep pace with vscode team.

>All comments

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: https://github.com/Microsoft/vscode/issues/3907#issuecomment-266676745

Broadly speaking, we will keep pace with vscode team.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sacki5 picture sacki5  路  3Comments

gabrielboliveira picture gabrielboliveira  路  3Comments

yoyoys picture yoyoys  路  3Comments

shaunc picture shaunc  路  3Comments

muhajirdev picture muhajirdev  路  3Comments