一、问题:运行正常,但控制台报错:
......./glyphicons-halflings-regular.woff2 net::ERR_ABORTED 404 (Not Found) jquery-1.11.1.min.js:3
......./glyphicons-halflings-regular.woff net::ERR_ABORTED 404 (Not Found) ..../glyphicons-halflings-regular.woff:1
......./glyphicons-halflings-regular.ttf net::ERR_ABORTED 404 (Not Found) ..../glyphicons-halflings-regular.ttf:1
二、解决方法:
<link rel="stylesheet" href="......../bootstrap.min.css">
在代码页,将此行内容上移几行,置于其他"<link …>"之上。
三、分析原因:
<link ....>的加载顺序导致报错。
其他的<link ....>中引用了bootstrap中的内容,但那时bootstrap所在<link ....>未加载。