appsorigin/dashboard

A package to scafford sidemenu navigation and permissions based on spatie

dev-master 2022-12-06 14:31 UTC

This package is auto-updated.

Last update: 2024-04-06 17:17:46 UTC


README

A simple package to add a sidebar to a laravel tailwind css

Usage

add this on app.blade.php after the body tag

  1. @extends('dashboard::master')

  2. open publish dashboard.php config file.

  3. 'navigations' => [
         'dashboard' => [
             'url' => 'dashboard',
             'icon' => 'heroicon-o-home',
             'canAccess' => "dashboard_browse",
         ],
        
     ],
     'permissions' => [
         'dashboard' => [
             'browse',
         ],
     ],
    

changes the above to match your navigation and your permissions schema.

Contribution guidelines for this project