Can not get filament views working in 404 view file
Hi!
I have this code in my
404.blade.php
file:
What I'm doing wrong? Because I'm only getting this plain response without styling... Do I need to wrap it in something else?
Thanks for any help.Solution:Jump to solution
Then you probably need to create your own layout file that includes Filaments CSS file
4 Replies
You probably didn't register Filaments stylesheets
You can probably use Filaments
simple-page
as a wrapperThanks for that but can you explain me please also what exactly is happening when I wrap the stuff above in a simple page and get this error:
Using $this when not in object context
. Should I also create some class or what's wrong?Seems like it needs to be used from within a Livewire component
Solution
Then you probably need to create your own layout file that includes Filaments CSS file