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
Filamentphp wouldn't use that, that is for your custom application outside filament
Ok, but what about the layout file in components directory?
https://filamentphp.com/docs/3.x/tables/installation#configuring-your-layout
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
Ok Thank you, How can I tell Filament which layout to use for the whole panel?
You can't, Filament uses it's own layout. what are you trying to do?
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
oh c'mon. it's such a common question at least try to search. create a custom theme then
I have been searching for two days now, The thing is it was working until I upgraded to v 3
i guess you are missing a preset
which filament provides
Are you talking about Tailwind config? presets: [require('tailwindcss/defaultConfig'),filamentPreset],
yes
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
this is example for your layout not filament
Aah I got it now, It's for using the TableBuilder component outside of the panel, Thanks π
yes
ant stop replying like that
it's annoying
Learn how tailwind is set up and you won't be confused