Nova Perspectives
With this package it is possible to create different perspectives in Nova. The following optional features are available for each perspective:
- Different main menu
- Different user menu
- Different fields, cards, filters etc. (
$request->viaPerspective
is global available in Nova) - Different styling via CSS child classes
Installation
You can install the package via composer:
composer require norman-huth/nova-perspectives
Middleware
Add the NormanHuth\NovaPerspectives\Http\Middleware\HandleNovaPerspektive
to /config/nova.php
.
use NormanHuth\NovaPerspectives\Http\Middleware\HandleNovaPerspektive; return [ //... 'middleware' => [ 'web', HandleInertiaRequests::class, HandleNovaPerspektive::class, DispatchServingNovaEvent::class, BootTools::class, ], //...];