引入a.css后運行失敗,一直報錯
引入a.css后運行失敗,一直報Failed to load module script: The server responded with a non-JavaScript MIME type of "text/css". Strict MIME type checking is enforced for module scripts per HTML spec.
請問這是怎么回事?
引入a.css后運行失敗,一直報Failed to load module script: The server responded with a non-JavaScript MIME type of "text/css". Strict MIME type checking is enforced for module scripts per HTML spec.
請問這是怎么回事?
2020-10-10
舉報
2020-10-19
可以好好檢測一下 devServer 配置的對不對 ,不行把截圖發(fā)一下
2020-11-30
index.html是直接創(chuàng)建在dist目錄下的,我之前創(chuàng)建在src目錄也是這個錯誤