Angular 2 Special Selectors with SASS

前端 未结 2 712
醉梦人生
醉梦人生 2021-01-11 17:02

I\'m trying to add SASS instead of vanilla CSS to the project and can get it mostly working.

My project setup

  • angular-cli (1.0.0-beta.18)
  • Ty
相关标签:
2条回答
  • 2021-01-11 17:47

    For all who are using Latest versions of angular (4+),

    Use :host ::ng-deep instad of :host /deep/

    0 讨论(0)
  • 2021-01-11 17:58

    Replacing :host with \:host and >>> with /deep/ worked for me.

    0 讨论(0)
提交回复
热议问题