gabriel89oliveira/laravel-starter

Sidebar layout for Laravel application

dev-master 2023-02-01 01:03 UTC

This package is auto-updated.

Last update: 2025-08-29 02:53:43 UTC


README

Laravel package to include starter configurations and files to accelerate project development

Install

composer require gabriel89oliveira/laravel-starter --dev

Publish desired part

You can publish only part of this package, according to your necessity

Sidebar layout

Sidebar layout is a fancy layout with Nav and a Sidebar Menu.
It will add to you Vue folder some files for main layout.

php artisan vendor:publish --tag=laravel-sidebar-layout

In your app.js file, import ref

+   import { ref } from 'vue'

then update createApp function with the following

return createApp({ 
    render: () => h(App, props),
+   provide() {
+       return {
+           toggleSidebar: ref(true)
+       }
    }
})