diff --git a/config/panel.php b/config/panel.php index 92c1d1b..8b807d7 100644 --- a/config/panel.php +++ b/config/panel.php @@ -124,7 +124,9 @@ // 'items' => [ // [ // 'item' => 'Dashboard', + // 'url' => 'http://localhost', // 'route' => 'welcome', + // 'newTab' => false, // 'icon' => 'fa-light fa-home-lg-alt', // 'activeIn' => ['welcome'], // ], diff --git a/resources/views/components/sidebar/item.blade.php b/resources/views/components/sidebar/item.blade.php index 72c82a8..3fd4a16 100644 --- a/resources/views/components/sidebar/item.blade.php +++ b/resources/views/components/sidebar/item.blade.php @@ -1,4 +1,4 @@ - +newTab ? 'target="_blank"' : '' }}>