F
Filament7mo 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
SayyOP7mo ago
its normal my header ? because im create project before not like this
Solution
toeknee
toeknee7mo ago
npm run build php artisan filament:upgrade
Sayy
SayyOP7mo ago
still like that
toeknee
toeknee7mo ago
What version of filament are you running?
Sayy
SayyOP7mo 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
toeknee7mo ago
v3 isn't the full version, but glad to hear it.
Sayy
SayyOP7mo ago
v3 last version, but work now thanks for help
Want results from more Discord servers?
Add your server