Open juleindev opened 1 year ago
Which icons are you trying to use? I've justed tested on a clean Laravel 10 install, with <x-fas-cloud/>
, and it worked as expected. 🤷🏻
Although, I tested on macOS and Linux, not sure if there'd be some issue with Windows. 🤔
I've try the same
Possibly related, using latest Roots Sage and Bedrock, after deploying to web server getting this critical error:
PHP Fatal error: Uncaught InvalidArgumentException: Unable to locate a class or view for component [fas-phone]. in /home/www/web/app/themes/xxxx/vendor/illuminate/view/Compilers/ComponentTagCompiler.php:311
However it is all working locally on Mac OS, the [fas-phone] icon appears fine with tag
<x-fas-phone style="width:2rem;height:2rem;color:var(--bs-gray-dark)" />
Debugging was costing a fair bit of time, and with limited Laravel knowledge I’m struggling to understand how it works, so I’ve just replaced the <x-fas-phone />
component tag with raw <svg />
tag for now.
Description
Bug with the package, components are not seen in Laravel 10, blade-ui-kit/blade-icons 1.5 correctly installed. The bug doesn’t appear with another package designed for Blade Icons. No error at installation.
Tried with the documentation example without success.
Your environment
PHP 8.2 Windows 11 with Laragon Phpstorm