owenvoke / blade-fontawesome

A package to easily make use of Font Awesome in your Laravel Blade views.
https://packagist.org/packages/owenvoke/blade-fontawesome
MIT License
170 stars 30 forks source link

Load icons from custom directory. #28

Open KaneCohen opened 3 years ago

KaneCohen commented 3 years ago

Currently if your icons are located in directory other that blade-fontawesome, Factory will throw an error complaining that "path" for a set does not exist. This happens because BladeUIKit package creates "paths" for sets the first time it create Factory. Since this package hooks up to BladeUIKit when its Factory is already instantiated "paths" key for icon sets is not filled.

Ideally, I'd look to update BladeUIKit Factory itself, but it won't hurt to manually sets paths in this library.

...

razvaniacob commented 2 years ago

this would be a really useful feature to have.