zulhamfendhy/adminlte 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zulhamfendhy/adminlte

最新稳定版本:1.1.0

Composer 安装命令:

composer require zulhamfendhy/adminlte

包简介

Admin LTE by zulhamfendhy

README 文档

README

PHP Composer Downloads Latest Stable Version License

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:

  1. Create a folder vendor in the folder views
  2. Create a folder adminlte in the folder vendor
  3. 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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-12