[英]How to delete Label Resources and change defaut menu in Laravel Nova?
I would like to change the default menu of Nova to have a grouped menu but that we unfold if necessary.我想将 Nova 的默认菜单更改为分组菜单,但如有必要,我们会展开。 I also want to remove the word Resources.我还想删除“资源”一词。 any help.任何帮助。 Thank you in advance.先感谢您。
Here is what i have:这是我所拥有的:
I want to have something like this:我想要这样的东西:
Nova has a navigation.blade.php file that renders the sidebar resources. Nova 有一个用于呈现侧边栏资源的navigation.blade.php文件。
To override blade views you can copy the file to resources/views/vendor/nova
folder.要覆盖刀片视图,您可以将文件复制到resources/views/vendor/nova
文件夹。 To make it easier,you can use the following commands to make the directory and copy the file from vendor folder.为方便起见,您可以使用以下命令创建目录并从供应商文件夹中复制文件。
mkdir -p resources/views/vendor/nova/resources/
cp -r vendor/laravel/nova/resources/views/resources/navigation.blade.php resources/views/vendor/nova/resources/navigation.blade.php
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.