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

Components not seen after installation #65

Open
juleindev opened this issue Oct 9, 2023 · 3 comments
Open

Components not seen after installation #65

juleindev opened this issue Oct 9, 2023 · 3 comments

Comments

@juleindev
Copy link

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

@owenvoke
Copy link
Owner

owenvoke commented Oct 9, 2023

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. 🤔

@juleindev
Copy link
Author

I've try the same
Phpstorm doesn't detect it.
I have a project with Filament Installed.
I've tried with a fresh Laravel 10 project and it's not work either.
Maybe there is something with version used.

@twobyte
Copy link

twobyte commented Feb 28, 2024

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.

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

No branches or pull requests

3 participants