F
Filament2mo ago
Sayy

Header Panels

my header why like this ? how to fix panel header already php artisan optimize still like this ?
return $panel
->default()
->id('app')
->path('/app')
->login()
->colors([
'primary' => Color::Blue,
])
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
->pages([
Pages\Dashboard::class,
])
->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
->widgets([
Widgets\AccountWidget::class,
Widgets\FilamentInfoWidget::class,
])
->middleware([
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
->authMiddleware([
Authenticate::class,
])
->sidebarCollapsibleOnDesktop()
->viteTheme('resources/css/filament/app/theme.css');
return $panel
->default()
->id('app')
->path('/app')
->login()
->colors([
'primary' => Color::Blue,
])
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
->pages([
Pages\Dashboard::class,
])
->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
->widgets([
Widgets\AccountWidget::class,
Widgets\FilamentInfoWidget::class,
])
->middleware([
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
->authMiddleware([
Authenticate::class,
])
->sidebarCollapsibleOnDesktop()
->viteTheme('resources/css/filament/app/theme.css');
Solution:
npm run build php artisan filament:upgrade...
Jump to solution
7 Replies
Sayy
Sayy2mo ago
its normal my header ? because im create project before not like this
Solution
toeknee
toeknee2mo ago
npm run build php artisan filament:upgrade
Sayy
Sayy2mo ago
still like that
toeknee
toeknee2mo ago
What version of filament are you running?
Sayy
Sayy2mo ago
i think maybe im just input this content: [ '<path-to-vendor>/awcodes/filament-table-repeater/resources/*/.blade.php', ] i just remove this its work v3, but now its work
toeknee
toeknee2mo ago
v3 isn't the full version, but glad to hear it.
Sayy
Sayy2mo ago
v3 last version, but work now thanks for help
Want results from more Discord servers?
Add your server
More Posts