F
Filament14mo ago
Panda

SPA mode crashing styles when navigating to non Filament routes

I've created a custom navigation like using the following snippet but when I click on it my site's styles are totally ruined (I'm using TailwindCSS) and when I navigate back to the dashboard it also gives issues. Even the open in new tab dosen't work when using SPA mode.
navigationItems([
NavigationItem::make('Main Site')
->url(url(RouteServiceProvider::HOME), shouldOpenInNewTab: true)
->icon('icon-logo')
->sort(1)
])
navigationItems([
NavigationItem::make('Main Site')
->url(url(RouteServiceProvider::HOME), shouldOpenInNewTab: true)
->icon('icon-logo')
->sort(1)
])
1 Reply
Panda
PandaOP14mo ago
When I disable the SPA mode it works fine.
Want results from more Discord servers?
Add your server