解决because its MIME type (‘text/html‘) is not a supported stylesheet MIME type, and strict MIME check
最新推荐文章于 2023-11-25 13:09:30 发布
本文介绍了在Vue与Django集成时遇到的MIME类型错误问题,重点在于Vue项目的config/index.js中设置正确路径以及Django项目urls配置需以根目录为基准。同时提到了跨域解决方案,包括在Django setting中安装并配置django-cors-headers。
摘要由CSDN通过智能技术生成