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