简体   繁体   English

Bower影像整合

[英]Bower images integration

I use bower and grunt. 我用凉亭和咕unt声。 Grunt scan bower_components and integrate js/css files in special directories. Grunt扫描bower_components并将js / css文件集成到特殊目录中。 What about relative paths to images in css files? CSS文件中图像的相对路径如何? How can I integrate these images? 如何整合这些图像?

There are grunt tasks to build your css and replace image url's with the correct ones: 有一些艰巨的任务来构建您的css并将图像url替换为正确的URL:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM