Adding livewire component to custom page
I have a custom page where i'm showing a table. The table is in different livewire components. for example the header is in one components and the rows are in another component.
it's working fine locally. But as soon as i deploy it, i get
in my page i have this code:
i also tried with this:
Does anyone have any clue where i can start debugging this? i've been trying for a long time now.
Solution:Jump to solution
i figured it out.
not sure why it's needed, but i had a livewire.php config file on my local environment, but not in my production. when i uploaded the config file, it all worked fine....
6 Replies
Anyone? π
your livewire folder and file location ?
<livewire:barang-masuk :barang="$barang" />
the view and component are under:
and
Name space namespace App\Http\Livewire\SomeThing
??
namespace App\Http\Livewire\Landslag\Weekplan;
Solution
i figured it out.
not sure why it's needed, but i had a livewire.php config file on my local environment, but not in my production. when i uploaded the config file, it all worked fine.