我在安装“ Drupal 8”上添加了“ Font Awesome”文件夹。
加载页面时,没有加载“ Font Awesome”,并且控制台中出现以下错误消息:
Refused to execute script from 'https://www.s1biose.com/themes/contrib/bootstrap_subtheme_front_office/fonts/fontawesome/css/all.css?pci27c' because its MIME type ('text/css') is not executable, and strict MIME type checking is enabled.
Uncaught TypeError: Cannot read property 'Constructor' of undefined
at Object.attach (tooltip.js?pci27c:38)
at drupal.js?v=8.5.5:25
at Array.forEach (<anonymous>)
at Object.Drupal.attachBehaviors (drupal.js?v=8.5.5:22)
at drupal.init.js?v=8.5.5:16
at HTMLDocument.t (ready.min.js?v=1.0.8:4)
attach @ tooltip.js?pci27c:38
(anonymous) @ drupal.js?v=8.5.5:25
Drupal.attachBehaviors @ drupal.js?v=8.5.5:22
(anonymous) @ drupal.init.js?v=8.5.5:16
t @ ready.min.js?v=1.0.8:4
setTimeout (async)
Drupal.throwError @ drupal.js?v=8.5.5:12
(anonymous) @ drupal.js?v=8.5.5:27
Drupal.attachBehaviors @ drupal.js?v=8.5.5:22
(anonymous) @ drupal.init.js?v=8.5.5:16
t @ ready.min.js?v=1.0.8:4
我该如何纠正?我删除了所有自定义代码,但它不起作用。