Configure blade files of dashboard and resources.
So i want to configure the dashboard and resources, and i found in internet that you can copy the default view into your app, and set the $view property on the page class to your view. The question is how do i do that? where can i find the default view? where will i paste it after i copied, and set the $view property.
9 Replies
It is highly discouraged to do this unless you are willing to watch new releases to make sure they don’t break in your app and update the overridden views.
But the answer is that you publish the views from the package with the vendor:publish artisan command.
i see, but if i am gonna just stick with the current version, it wont have a problem, right?
Not if you lock it down in composer so it doesn’t update on any composer update commands.
I think you’re heading down a slippery slope though. But do what you need to.
Hello, so i finally have the courage to do it, but i dont know which to pick.
I want to configure the dashboard itself and the resources itself. but when i tried to publish filament-views, it just gave me bunch of actions that filament has.
what i want is the real html, css or blade files of dashboard and each resources
It is not recommend to publish the view files because it runs the risk of breaking with future updates.
But if you want to it would be the ‘-views’ of which ever package you want to over ride.
And not to sound derogatory but if you are questioning this, you might not be ready for the maintenance of it.
i feel like too, but i just want to try it at least
sorry for asking too much, but what would be the full command? like i want to configure the views of dashboard for example the real html, css, js, or blade i mean
Artisan vendor:publish and select filament-panels-views.
And don’t get me wrong. I think you can maintain it, but it can easily become a pain in the ass to watch every release to see if it could break your app.
i did this, but still not the output i desire.
what i desire is the html, css, and js that is being used to render the specific resource or dashboard