Stylesheet not loaded because of MIME-type

前端 未结 30 3137
猫巷女王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:55

    if browser can not find related css file, it could give this error.

    If you use Angular application you do not have to put css file path on index.html

      -->
    

    You could put related css file path on styles.css file.

    @import "../node_modules/material-design-icons-iconfont/dist/material-design-icons.css";
    

提交回复
热议问题