GreeterPlugin by orion doenst work in production mode

I have setup this plugin in adminprodiver inside plugins([]) example
GreeterPlugin::make()
->message('Welcome')
->name("Rand al'Thor")
->title("Dragon Reborn, Coramoor, Car'a'carn, He Who Comes With the Dawn, Shadowkiller, King of Illian, Lord of the Morning")
->avatar(size: 'w-16 h-16')
->columnSpan('full')
->action(
Action::make('action')
->label('Reborn')
->color('danger')
->icon('heroicon-o-arrow-path')
->action(function () {
Notification::make()
->title('Reborn successfully')
->success()
->send();
})
),
GreeterPlugin::make()
->message('Welcome')
->name("Rand al'Thor")
->title("Dragon Reborn, Coramoor, Car'a'carn, He Who Comes With the Dawn, Shadowkiller, King of Illian, Lord of the Morning")
->avatar(size: 'w-16 h-16')
->columnSpan('full')
->action(
Action::make('action')
->label('Reborn')
->color('danger')
->icon('heroicon-o-arrow-path')
->action(function () {
Notification::make()
->title('Reborn successfully')
->success()
->send();
})
),
what happen? it works in my local dev, but when it in my hosting production, it doenst work, it not showing the greeting at all, do you guys know how to solve it? thanks this image show it works in local, but when it is on my production hosting, the greeting doesnt shown up.
No description
4 Replies
LeandroFerreira
php artisan filament:optimize-clear ?
christmex
christmexOP2w ago
thank you so much, for the help, it works, can i know what happen?
christmex
christmexOP2w ago
thank you!
Want results from more Discord servers?
Add your server