……
……
<style lang="postcss">
body {
display: flex;// auto prompt
h2 {
align-items: center; // no prompt
}
}
</style>
Temporary solutions
_webpack.config.js_
{
test: /\.s?css$/,
use: [
"css-loader",
"postcss-loader"
]
}
_Vue File_
<style lang="scss">
……
</style>
Nesting not in CSS spec yet. Vetur uses vscode-css-languageservice so until it has support for nesting Vetur won't have it.
Most helpful comment
Temporary solutions
_webpack.config.js_
_Vue File_