Mime type error when adding a CSS file to Angular

后端 未结 9 829
野的像风
野的像风 2020-12-20 11:36

I\'m trying to build a static site using Angular. What I want is to have some global css/js/image files to be added to the index.html

This is my code in

9条回答
  •  伪装坚强ぢ
    2020-12-20 11:48

    This is your code which links your layers.css file.

    From this line please remove type="text/css".

    So, the code will become:

    Use this line, I hope It will work now. Thank You

提交回复
热议问题