3

I'm using Laravel with Laravel Nova for the admin panel. I want to have a page that shows user settings from app/config/some_config.php file.

So, how I can add a custom page(without a model) and show a link for this page in the admin panel with a new group(when we create a new resource, we must set $model and $group)?

GetUnstuck
  • 91
  • 1
  • 8

2 Answers2

3

You can use the tool feature for Nova Projects. Just run the command:

php artisan nova:tool nameofyourtool

https://nova.laravel.com/docs/3.0/customization/tools.html

Gerardo Ruiz
  • 156
  • 10
0

You should create the menu in theme/layout.blade.php by adding code from a regular .blade.php file that describes your menu item and after that you should use the Vue component <router-link :to="{name: "here is the name of the Vue component" }"> This is the best way i have found so far. Its a solution