hide topbar and sidebar in admin panel on a custom page, when I open it in a custom route
I created a custom page in filament, and a route for the same one, and I didnt want to de admin panel to show

23 Replies
my route =
and this has livewire component
I just wanted what is inside the red rectangle to appear

it's possible ?
You can customize the layout of your custom page as well as the view:
I tried that but, my style is all unformatted is this normal? since I used tailwind ?
stay like this

how's your blade file looks like?
if I use the custom page on the filament it looks like this

but if I use a route it's like this

i know, i want to see the contents of your file
@yuut4 Copy the built-in layout and start from that. Make sure to remove only what you don't need
https://github.com/filamentphp/filament/blob/2.x/packages/admin/resources/views/components/layouts/app.blade.php
GitHub
filament/packages/admin/resources/views/components/layouts/app.blad...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
Oh ok
ok ths i will try
I used livewire to do it too
but the livewire blade is of this type
set
$layout = 'filament::components.layouts.base'
will make the route again and try it out
it worked, it needs some adjustments

can i rewrite? right
just make the necessary adjustments, since
filament::components.layouts.app
was doing that for youofc, I just want to put more towards the center of the page
and I hadk is just fine
class = container mx-auto
that works, always looking for new things thanks for the help
Please mark the post as solved 🙂
I will