見出し画像

Laravel10+AdminLite3

AdminLiteの導入方法

composerでインストール

composer require jeroennoten/laravel-adminlte
php artisan adminlte:install

adminLiteを適用したサンプルテンプレート

@extends('adminlte::page')
@section('title', 'ページタイトル')

@section('content_header')
ページごとに表示を切り替えるヘッダー部分
@stop

@section('content')
ここにコンテンツを書く
@stop

サイドメニューのカスタマイズ

config/adminlite.phpをいじる