What is the best way to structure files in a filament app?
An example. I created a custom page, Reports which I put in Filament/App/Pages/Reports. This page has links to other pages that contain the specific reports, which I plan to use tables for.
In order to use the table builder, I'm going to use full-page livewire components for the form (I saw a comment somewhere that said it's best not to use the table builder directly on a page, but rather use it in a livewire component and include it on the page). So now the individual reports will be in App/Livewire/Reports/... Or maybe I should just do a livewire component and not a full page. In that case, where would you store just a table component for a report? App/Livewire/Components/Tables/Reports?
I know there's probably not a hard and fast rule here, but it just seems like it's going to get confusing as the project grows.
In order to use the table builder, I'm going to use full-page livewire components for the form (I saw a comment somewhere that said it's best not to use the table builder directly on a page, but rather use it in a livewire component and include it on the page). So now the individual reports will be in App/Livewire/Reports/... Or maybe I should just do a livewire component and not a full page. In that case, where would you store just a table component for a report? App/Livewire/Components/Tables/Reports?
I know there's probably not a hard and fast rule here, but it just seems like it's going to get confusing as the project grows.
0 Replies