You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two problems which prevent icons from being displayed:
Twitter Bootstrap uses relative paths for the icon sprites by default
the icons will not be in the public path of the application
I haven't tried yet, but I think #1 is easily solvable by adding second style which overrides the default @iconSpritePath and @iconWhiteSpritePath values. #2 is trickier. Derby could add support for exposing static files in components. This could be configured similarly to the current styles configuration. However, I don't see an easy way to make these files accessible through the router.
An easier solution would be to add an optional configuration to derby-ui-boot, say linkImages which should be set by the application to its public path. If the decorator sees this option it will symlink the image files into the public directory and set the icon path variables accordingly.
I'm happy to help with implementing this. Which one should I implement? Do you see any other approach?
The text was updated successfully, but these errors were encountered:
There are two problems which prevent icons from being displayed:
I haven't tried yet, but I think #1 is easily solvable by adding second style which overrides the default
@iconSpritePath
and@iconWhiteSpritePath
values.#2 is trickier. Derby could add support for exposing static files in components. This could be configured similarly to the current
styles
configuration. However, I don't see an easy way to make these files accessible through the router.An easier solution would be to add an optional configuration to derby-ui-boot, say
linkImages
which should be set by the application to its public path. If the decorator sees this option it will symlink the image files into the public directory and set the icon path variables accordingly.I'm happy to help with implementing this. Which one should I implement? Do you see any other approach?
The text was updated successfully, but these errors were encountered: