简体   繁体   中英

Remove sidebar from laravel nova tool

So as the title suggests im looking at trying to remove the sidebar from a laravel nova tool i have created that we are looking at putting up on a tv to show sales stats. I would prefer not to have to put the board up with the navigation

Here is a simple way to do this:

copy the file in vendor/laravel/nova/resources/views/layout.blade.php and put it in /resources/views/vendor/nova.

You will then have control of the main Laravel nova layout and can add code to hide the sidebar when you are in the custom tool. You can copy over the rest of the views while you are at it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM