66 Edge errors: HTTP403 FORBIDDEN

戏子无情 提交于 2019-12-03 11:02:32

This is because the LESS files are not available in the CDN.

Maybe other browsers manage to hide this error ?

Here is the result in chrome for instance :

Be sure to only use the CSS and JS files from bootstrap or host the less versions yourself. :)

klewis

I haven't figured out which 3.3.6 package makes no reference to Less files. But the following steps worked for me. To remove the errors from the console in IE Edge, or any browser for that matter, simply download the "Source Code" package from Bootstrap and at the very least, make sure to reference the less and dist folders from that package, under your Bootstrap css folder. Bootstrap will take care of the rest and you will no longer see the errors in IE edge.

As already mentioned on this page, don't use the CDN links. My current <head> setup looks like this in my <head> area...

<!-- Latest compiled and minified CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">

<!-- Optional theme -->
<link rel="stylesheet" href="css/bootstrap-theme.min.css">

With a folder structure like so...

css
  less  
  dist

Hope this helps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!