这个是地址:http://ceshi.sosearching.cn/o...
控制台报错类似这样的,
GET http://ceshi.sosearching.cn/o...
Uncaught Error: Script error for "fontAwesomeCss"
麻烦有研究的大神帮忙看看 谢谢
阿神2017-05-16 13:40:50
Failed to load resource: the server responded with a status of 404 (Not Found)
根本就找不到你的 “XXCSS.js” 文件,检查清楚是不是写错了什么?路径对了吗?
仅有的幸福2017-05-16 13:40:50
require引用的css一定要是某个js的依赖,而且要在头部申明是css
datepicker: {
deps: [
'jquery',
'css!../../jslibs/jquery-ui/themes/base/jquery-ui.css',
'css!../../jslibs/jquery-ui/themes/base/datepicker.css',
'css!../../jslibs/jquery-ui/themes/base/base.css',
]
}