How do I make visual studio support the scss syntax within the style node in the .vue file?

Note:

  1. is visual studio not visual studio code
  2. my project can run normally

Line 42 in figure, I want vs to support the scss syntax inside the .vue file. What settings do I need to do?
Thank you all

Jun.27,2022

The corresponding dependency is installed in

npm. It is recommended to rely on installation in the project, and it is also possible to install it globally

"node-sass": "^4.9.1",
"sass-loader": "^7.0.3",

I use vs2010 to open a vue file, which seems to be the same. It should not matter if this error is not affected, but generally, it is better to open a vue project with vs code

.
Menu