I started to do some tests on the new administration panel Laravel Nova. I read the documentation and didn't find any mention of how we can do some template customization.
Anybody can explain how the template engine works? It's there any way to override some pages components output?
How do I need to proceed if I want to change the logo or the footer, or the navbar WITHOUT modifying the originals files?
After publishing nova, a new folder named "nova" should have been created under resources/views/vendor/
. The logo file should already be there.
If not, create it. You can look into nova/resources
for the filenames.
After that you can simply create a file named the same way as another template in nova/resources/views
and it will load the proper one.
From there you can override the vue-router and add your js and css.
So your resources folder path for the logo file would look something like this
resources/views/vendor/nova/partials/logo.blade.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With