Configuring my layout doesn't work
If I configure the layout as explained in the docs here:
https://filamentphp.com/docs/3.x/tables/installation#configuring-your-layout
It doesn't seem to do anything. Am I missing a step?
14 Replies
You need to mention more details, e.g. what the result?. Anyway, if you upgrade from v2 and published the livewire.php config before, check the layout path on it becuase, in this case, you may modify the file in path resources/views/components/layouts/app.blade.php and your project use the old one resources/views/layouts/app.blade.php
Thanks for your reply! I would love to give more details, but what more is there to share? It's completely ignoring either of the files you just mentioned. I am upgrading from V2 but never published the livewire config.
I have ran
php artisan filament:upgrade
more than once at this pointWhat is the modification you made and not works in app.blade.php?
I changed it to just say "Hello World!", I've changed it so the title would always be fixed to
test
but none is workingTo be sure, title in the front-end or inside Panel?
Title in the front-end
Clear the file resources/views/components/layouts/app.blade.php then refresh the page. This way you can ensure if that your layout file or another file used.
I did, it's not being used
Do the same for resources/views/layouts/app.blade.php
Share some code you are using. What does your LW component look like? Where are you using it?
There's not much code to share besides 2 empty blade files specified in above locations π
So if you haven't even set up a table component what do you expect to see?
I was expecting the layout to work on the dashboard as well to be honest
Which dashboard? Are you talking about the panel? Because you are referring to the table builder docs?