Add scss file to the Stackblitz

后端 未结 2 2157
暗喜
暗喜 2020-12-11 02:53

Can you tell me how to add scss file to the stackblitz. I tried that.But it is not working. Please see that and let me know.

I have tried t

2条回答
  •  离开以前
    2020-12-11 03:35

    Above answer does not work anymore. Update:

    @Component({
      selector: 'page-home',
      templateUrl: 'home.html',
      styleUrls: [ 'home.scss' ] <== add this
    })
    

    Also - the styles must go in the most outside block and shouldn't go under other block.

提交回复
热议问题