Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #335
    dan
    Participant

    Hi,

    I just installed Laravel Breeze with Blade presets. I’m trying to create a livewire component but here the error I got

    Command “make:livewire” is not defined.

    #336

    I assume you just installed Laravel Breeze.

    With you install Laravel Breeze with Blade scaffolding , it doesn’t include Livewire out of the box. You have to install it using

    composer require livewire/livewire

    You can confirm it by going to composer.json and under “require” you will not be seeing livewire included as a dependencies.

    You can check how further information on livewire documentation here:

    https://laravel-livewire.com/docs/2.x/installation

    #337
    dan
    Participant

    Thanks.

    Is alpine.js included by default in the Laravel Breeze installation?

    #338

    Alpine.js is included by default

    To check any Javascript dependencies you can go to package.json. Under require you will be seeing

    “livewire/livewire”: “^2.12”

    if you installed the latest Breeze package.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.