Using scss, in vue is wrong in quoting the Times, please correct it.

clipboard.png
clipboard.png
sass-loader,scss-loader,node-loader,webpack.base.conf.jsmodulerules
clipboard.png
for correction, thank you

Mar.09,2021

  1. I remember that the current loader name should be written in full css -> css-loader .
  2. ~ is only used as module parsing, and the following path still has to be written. Of course, you don't need it if you configure scss_vars to alias , but the configuration you posted doesn't specify this.
  3. If
  4. is not configured extensions , you need to write all the file suffixes.

so it should probably be @ import'~ [alias] [path]' or @ import'[path]'

Menu