未能编译SASS

  • 本文关键字:SASS 编译 css url sass
  • 更新时间 :
  • 英文 :


使用SASS时,在代码中使用url时会发生编译错误

中的错误/src/app/content/content.component.sass模块错误(来自./node_modules/postpass-loader/src/index.js(:(发出值而不是Error的实例(CssSyntaxError:D: \ Angular \ ng proj\src\app\content\content.component.sass:34:19:不能解析"D:\Angular \ng proj\src\app\content"中的"%22%22">

.content:hover
.details-img
content: url('../assets/img/content-selected.jpg')
.title
color: #e7ba2f

我想明白了。我需要获取URL的".."。谢谢

最新更新