Custom layout

Hello everyone Filament 3 is not using the custom layout at views/components/layouts/app.blade.php This file exists and this is my Livewire config 'layout' => 'components.layouts.app', Can anyone help please?
15 Replies
toeknee
toeknee2y ago
Filamentphp wouldn't use that, that is for your custom application outside filament
toeknee
toeknee2y ago
That's not filament, that's FilamentTables But that's telling you above how to implemenet it and what you are referring to is the livewire instance layout for the entire app being rendered from the route
ariabk
ariabkOP2y ago
Ok Thank you, How can I tell Filament which layout to use for the whole panel?
toeknee
toeknee2y ago
You can't, Filament uses it's own layout. what are you trying to do?
ariabk
ariabkOP2y ago
I have a custom page in Filament and I am using Tailwind for the styles, Some of the Tailwind classes are missing from Filament's CSS file. I am using Vite and Tailwind in my Laravel application, so usually the assets are referenced using Vite and with "npm run dev "running. I am trying to achieve the same thing here
krekas
krekas2y ago
oh c'mon. it's such a common question at least try to search. create a custom theme then
ariabk
ariabkOP2y ago
I have been searching for two days now, The thing is it was working until I upgraded to v 3
krekas
krekas2y ago
i guess you are missing a preset which filament provides
ariabk
ariabkOP2y ago
Are you talking about Tailwind config? presets: [require('tailwindcss/defaultConfig'),filamentPreset],
krekas
krekas2y ago
yes
ariabk
ariabkOP2y ago
Can you help me understand why TableBuilder has a custom layout config, and when this layout is used? https://filamentphp.com/docs/3.x/tables/installation#configuring-your-layout It's confusing me and I understand that this is a seperate issue from Custom themes
krekas
krekas2y ago
this is example for your layout not filament
ariabk
ariabkOP2y ago
Aah I got it now, It's for using the TableBuilder component outside of the panel, Thanks 😄
krekas
krekas2y ago
yes ant stop replying like that it's annoying Learn how tailwind is set up and you won't be confused

Did you find this page helpful?