🏨Page Builder
the page builder makes it very easy to custom your page and generate autoloaded pages to build your website using Sections
to start using it you need to add this method to your panel provider /app/Providers/Filament/AdminPanelProvider.php
first thing you need to create a Section on your AppServiceProvider boot()
method
NOTE: the section key must be unique
after registering your section you can start using Page Builder, you need to create a new route for your page like this
as you see you need to use load_page
helper to load your page and pass it to your view, this method checks if the page exists by slug
and return the page data if the page doesn't exists or is deleted it will restore it or create it for you
on your welcome.blade.php
file you need to use this blade component
if you need to use Filament Layout to make it easy to active Livewire / Tailwind Style use allow-layout
attribute if you need to use it without any style you can use it without this attribute
now if you open your page you will find the builder view like this
Last updated