Notifications not showing on a normal (outside of dashboard page)

I'm propably missing something, but i can't find anything in the docs i need to add, can someone help me?
6 Replies
DanielvdSpoel
DanielvdSpoel11mo ago
Yes, this is what my layout looks like:
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="application-name" content="{{ config('app.name') }}">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{{ config('app.name') }}</title>

<style>
[x-cloak] {
display: none !important;
}
</style>

@filamentStyles
@vite('resources/css/app.css')
</head>
<body class="antialiased bg-gray-100">
{{ $slot }}

@filamentScripts
</body>
</html>
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="application-name" content="{{ config('app.name') }}">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{{ config('app.name') }}</title>

<style>
[x-cloak] {
display: none !important;
}
</style>

@filamentStyles
@vite('resources/css/app.css')
</head>
<body class="antialiased bg-gray-100">
{{ $slot }}

@filamentScripts
</body>
</html>
awcodes
awcodes11mo ago
try adding @livewire(Filament\Livewire\Notifications::class) to your layout. The docs might need to be updated.
DanielvdSpoel
DanielvdSpoel11mo ago
yep that did the trick, docs need to be updated or it did for like a second lol
DanielvdSpoel
DanielvdSpoel11mo ago
Flare
Unable to find component: [filament.livewire.notifications] - The error occurred at http://localhost:8000
DanielvdSpoel
DanielvdSpoel11mo ago
now i'm gettign this error it works sometimes, interesting lol
Want results from more Discord servers?
Add your server
More Posts
cachedTableFilters must not be accessed beforeWhen i click a svg then it open a modal to create a record it give error i give my code in picturIssue with Tenancy-enabled testI am in the process of developing a test that uses a resource situated within a panel, which has ten6 records and step wizardHey All, I building a survey wizard and I have just 6 questions. But based on these questions I haveLivewire Component inside filament Custom page cant use $this->validate()when i try to use $this->validate it return "array_merge(): Argument #1 must be of type array, null How to setup email verification after the email has been changed?I am using ```return $panel->emailVerification()``` on my AdminPanelServiceProvider. Email verificat$livewire->dispatchBrowserEvent('copy-to-clipboard') is not working on SafariI have a header action that dispatches the 'copy-to-clipboard' event to the browser. However this isprint a pageI want to print custom page in filament , but when I print , it shows me only this :Select field create new option in modal but using url of existing resource/create - Action in modalHello. I have a select field where user can select from all the created record_types. I have added aSearch for a value which does not exist in the filament table columnHow do we search for a column which exists in the database but it is not required to be shown to theEdit existing page (Login)Hey, is it possible to update existing pages for example the login page. I want a logo instead of th