How to use custom icon
Hi i have this action on a table in livewire component and i am passing the icon and HTML string but i seem to render it as image
any idea on how i can using my font awesome pro icons
Livewire component
Solution:Jump to solution
GitHub
GitHub - owenvoke/blade-fontawesome: A package to easily make use o...
A package to easily make use of Font Awesome in your Laravel Blade views. - owenvoke/blade-fontawesome
14 Replies
You likely need to include the .fa-edit in the tailwind whitelist. Or build a blade view which just has all the additional classes in a div so they are built on compile.
it would make mre sense to keep one icon library usually though
ok so i can i use font awasome pro
not heroicon or blade icons
can you give me a example sir i dont know how to do that
create:
resources/extra_class.blade.php
add:
run:
npm run build
right i did that it still not working
i think the issue is it put my it tag inside and image what does it do that i dont know
Yeah it appears so
GitHub
GitHub - owenvoke/blade-fontawesome: A package to easily make use o...
A package to easily make use of Font Awesome in your Laravel Blade views. - owenvoke/blade-fontawesome
@LeandroFerreira Thnx
Any idea why It is putting my icon inside a image tag
Solution
GitHub
GitHub - owenvoke/blade-fontawesome: A package to easily make use o...
A package to easily make use of Font Awesome in your Laravel Blade views. - owenvoke/blade-fontawesome
Yes sir I installed and it working now just was wondering why wasn't the html string working
hum I don't know
HTML string doesn’t work in there by the looks of the code since we have the icon package now
ok thnx
is there a way to replace default icon with my fontawsome icon it tried by it did not work