Paths for Images and Fonts
rajivseelam opened this issue · comments
Rajiv Seelam commented
Once I pipeline, all css files are minified and served from min directory. The problem I am facing is it's not able to find font files, images.
So I have to rewrite paths in css files or keep my images,fonts etc., in min directory.
For example:
public/css/vendor/bootstrap/css/bootstrap.css
public/css/vendor/bootstrap/fonts/..
public/css/custom.css
I do:
Assets::add('vendor/bootstrap/css/bootstrap.css');
Assets::add('custom.css');
The file in min dir has same paths for fonts so it can't find.
Any advice on how to solve this problem?
Javi commented
@rajivseelam , please read #23 to learn how you can use custom filters.