node.js - 我用node写网站,发现样式表里面引用的图片资源不会加载进来
怪我咯
怪我咯 2017-04-17 12:02:43
0
2
517

我是用了bootstrsp的样式表,样式表里面引用了两张图片作为背景图片来做一些图标,问题就出现了,弄了半天,发现node只会请求一些a链接或者通过link或者script标签引用进来的资源,css里面用到的图片不会请求

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
伊谢尔伦

Is the request unsuccessful or no request at all? This has nothing to do with node, it's a front-end thing.
If there is no request, it is probably because the style priority is not enough. Try!important

迷茫

I was wrong, it turned out to be the path. The bootstrap icons should be placed in the fonts folder

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template