how can i go about adding a back to main page link on the dashboard
how can i go about adding a back to main page link on the dashboard
10 Replies
Create a custom widget. Render you link in the view of that widget.
Add widget to dashboard.
ok done this
php artisan make:filament-widget BackToMainSite
what method should i use in the acutal class
I wouldn't think you would need any methods. You put the html for your link in the blade view.
where can i find the balde view for this ? π
The Widget is just a Livewire component, so you would treat it the same as any other Livewire component.
it's right there.
ha lol yea
resources/views/filament/widgets/back-to-main-site.blade.php
so blind
all good
thank you