zulhamfendhy/adminlte
最新稳定版本:1.1.0
Composer 安装命令:
composer require zulhamfendhy/adminlte
包简介
Admin LTE by zulhamfendhy
README 文档
README
Admin LTE by zulhamfendhy
Installation
composer require zulhamfendhy/adminlte
php artisan vendor:publish --tag=zulhamfendhy-adminlte
Usage
Create a base template view. Example: base.blade.php
@extends('adminlte::base')
Create a view. Example: dashboard.blade.php and extend the base layout.
@extends('base') @section('page_name') Dashboard @endsection @section('body') write a code @endsection
For add a stylesheet or javascript, use tag @push()
@push('stylesheets') write a stylesheet @endpush @push('javascripts') write a javascript @endpush
Full code for dashboard.blade.php
@extends('base') @push('stylesheets') write a stylesheet @endpush @section('page_name') Dashboard @endsection @section('body') write a code @endsection @push('javascripts') write a javascript @endpush
Customize the layout
You can custom the layout. Tutorial:
- Create a folder
vendorin the folderviews - Create a folder
adminltein the foldervendor - Create a file blade.php according to what you want to change
Dev Test
./vendor/bin/phpunit tests
统计信息
- 总下载量: 40
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-12