6

Since Nova 4 has no blades anymore that you could publish, how could you approach customization the best in for example the head navbar next to the searchbar? I'd like to add a drop-down there but I don't know where to start or what to change?

In Nova 3 and earlier you had to publish the resources of nova and then you could add thing in your layout.blade.php.

Example example screenshot

1 Answer 1

0

I think you have to override the Main Header Vue Component (just for info, located in: vendor/laravel/nova/resources/js/layouts/MainHeader.vue and etc...)

Can you try using the approach below? https://laracasts.com/discuss/channels/nova/how-to-override-a-nova-component?reply=672085

Sign up to request clarification or add additional context in comments.

2 Comments

Hi Nikolay. After I change that .vue component, what should I "rebuild"? I am confused on that part...
You have to rebuild the tool and register the component with the same name as the component you want to overwrite.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.