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
Unable to find component: [landslag.weekplan.table-header]
Unable to find component: [landslag.weekplan.table-header]
in my page i have this code:
<x-filament-panels::page> <div class="overflow-y-auto overflow-x-auto"> <table class="w-full min-w-full dark:bg-gray-800 text-white dark:border-gray-700 rounded-xl"> @livewire('landslag.weekplan.table-header') //Rest of my code </table> </div></x-filament-panels::page>
<x-filament-panels::page> <div class="overflow-y-auto overflow-x-auto"> <table class="w-full min-w-full dark:bg-gray-800 text-white dark:border-gray-700 rounded-xl"> @livewire('landslag.weekplan.table-header') //Rest of my code </table> </div></x-filament-panels::page>
i also tried with this:
<livewire:landslag.weekplan.table-header />
<livewire:landslag.weekplan.table-header />
Does anyone have any clue where i can start debugging this? i've been trying for a long time now.
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.