Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load icons from custom directory. #28

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

KaneCohen
Copy link

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.

...

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.
@raz-iacob
Copy link

this would be a really useful feature to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants