How to create a public page accessible on public or unauthenticated ? #8843
-
I am curious how to create a page where unauthenticated can access, like the login page? I've digged into the code of login and tried to create a new page using this command Still no luck. Anyone who already tried this? Can you give me some adivice. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
If your page extends <x-filament-panels::page.simple>
...
</x-filament-panels::page.simple> Then, you can register the page in your Route::get('/my-page', MyPage::class)->name('my-page'); |
Beta Was this translation helpful? Give feedback.
-
Is there a way to achieve the same thing for a page which extends CreateRecord ? |
Beta Was this translation helpful? Give feedback.
If your page extends
SimplePage
, you can use the following wrapper component in your Blade view:Then, you can register the page in your
routes/web.php
like other pages of your app: