livewire / flux

The official Livewire UI component library
https://fluxui.dev
488 stars 42 forks source link

Unable to import the “Lucide” library #648

Closed blagapro closed 1 week ago

blagapro commented 2 weeks ago

Hi there! 👋

Sorry you hit a problem with Flux.

When I want to use the command to include Lucide icons, it says that the command doesn't exist, but I have the latest version.

   php artisan flux:icon crown grip-vertical github

   ERROR  Command "flux:icon" is not defined. Did you mean one of these?  

  ⇂ flux:activate  
  ⇂ flux:publish 

Do you have a solution ?

Thank you

oMikeo commented 2 weeks ago

php artisan optimize:clear ?

blagapro commented 2 weeks ago

Hello,

No, this does not solve the problem.

calebporzio commented 1 week ago

This has to be something related to what flux version you're on. Make sure you run: composer update livewire/flux-pro livewire/flux

If that doesn't do it, run this command and report back on what is listed under "version":

composer show livewire/flux --format=json

Here is what is should look like:

Image

Closing - please re-open if you still can't figure it out