Stylesheet not loaded because of MIME-type

前端 未结 30 3116
猫巷女王i
猫巷女王i 2020-11-22 07:29

I\'m working on a website that uses gulp to compile and browser sync to keep the browser synchronised with my changes.

The gulp task compiles everything

30条回答
  •  傲寒
    傲寒 (楼主)
    2020-11-22 07:52

    I simply referenced the CSS file (an Angular theme in my case) in the styles section of my Angular 6 build configuration in angular.json:

    This does not answer the question, but it might be a suitable workaround, as it was for me.

提交回复
热议问题