F
Filament4mo ago
Grogu

Best way to display a public filamentphp form?

Hi all, just wondering the best way to display a filamentphp form on a public page. I've created a livewire form, and I'm pointing a public route to it, but the styles are all missing. I scaffolded the lirewire layout which created the app.blade.php - but how do i get the styles and scripts in that layout file to make the form feel filamentphp native? Thanks!
8 Replies
Grogu
GroguOP4mo ago
I've added this to app.blade.php
No description
Grogu
GroguOP4mo ago
But my form now looks like this:
Grogu
GroguOP4mo ago
No description
Julien B. (aka yebor974)
Hi. You can follow this article https://filamentmastery.com/articles/guide-to-using-filament-components-in-public-facing-pages if using v3 maybe missing tailwind config
Filament Mastery
Guide to using Filament Components in public-facing pages - Filamen...
Learn how to integrate Filament components into your public-facing pages with this step-by-step guide.
Grogu
GroguOP4mo ago
Hey, thanks very much @Julien B. (aka yebor974) ! That worked @Julien B. (aka yebor974) thanks!
Julien B. (aka yebor974)
you're welcome 👌
Soundmit
Soundmit3mo ago
need the same thing but inside a custom plugin, at the moment i have a livewire error Unable to find component: [register-tenant] https://discord.com/channels/883083792112300104/1399797226527657984
Julien B. (aka yebor974)
Hi, il will answer on the correct thread

Did you find this page helpful?