百度静态资源公共库根本用不了( ⊙ o ⊙ )啊!

2017-01-10 14:38:51 +08:00
 lbp0200

Access to CSS stylesheet at 'http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.min.css' from origin 'http://127.0.0.1:4000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:4000' is therefore not allowed access.

2064 次点击
所在节点    全球工单系统
6 条回复
otakustay
2017-01-10 16:08:10 +08:00
你是怎么使用这个 css 的,是<link rel="stylesheet" href="http://apps.bdimg.com...">这样么
lbp0200
2017-01-10 16:10:40 +08:00
@otakustay 是啊
HLT
2017-01-10 20:26:29 +08:00
Lentin
2017-01-21 22:57:54 +08:00
是你的代理问题吧
lbp0200
2017-01-22 09:42:27 +08:00
不用百度的了,换了这个
//lib.baomitu.com/twitter-bootstrap/3.3.6/css/bootstrap.min.css
支持的版本比较多
yexiaoxing
2017-01-31 17:14:01 +08:00
还可以试试 jsdelivr.com

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/333609

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX