Chrome中的bootstrap js文件未加载到wordpress

时间:2021-08-30 15:19:14

I am completing a tutorial on how to convert a bootstrap template into a wordpress theme, when it comes to the js and css files I think it's been done right but when I open chrome F12 console, I get red messages like :

我正在完成一个关于如何将引导程序模板转换为wordpress主题的教程,当涉及到js和css文件时,我认为它已经正确完成但是当我打开chrome F12控制台时,我收到红色消息,如:

Uncaught TypeError: Browser.addMessageHandlers is not a function

未捕获的TypeError:Browser.addMessageHandlers不是函数

GET http://127.0.0.1:4001/bootstrap/js/bootstrap.min.js (index):121 GET http://127.0.0.1:4001/bootstrap/js/ie10-viewport-bug-workaround.js

获取http://127.0.0.1:4001/bootstrap/js/bootstrap.min.js(索引):121获取http://127.0.0.1:4001/bootstrap/js/ie10-viewport-bug-workaround.js

but the outside link to jquery must be working.

但是jquery的外部链接必须正常工作。

Any advice would be awesome.

任何建议都很棒。

1 个解决方案

#1


0  

Try turning off Chrome's device mode ... do you still get the errors?

尝试关闭Chrome的设备模式......你仍然会收到错误吗?

#1


0  

Try turning off Chrome's device mode ... do you still get the errors?

尝试关闭Chrome的设备模式......你仍然会收到错误吗?