jenryollivierre/laravel-coreui-static-admin-theme
Composer 安装命令:
composer require jenryollivierre/laravel-coreui-static-admin-theme
包简介
A laravel admin theme made from the coreui static theme for bootstrap 4.
README 文档
README
Introduction
Laravel Coreui Static Admin Theme is a bootstrap 4 theme made by coreui that has been re-packaged to work as an admin theme for your laravel application.
How To Install
Run the composer command composer require jenryollivierre/laravel-coreui-static-admin-theme
Getting Started
1 - Publish Files
- Use the
php artisan vendor:publishcommand to publish the necessary files. The assets, views and config files are tagged as 'lcsat-public', 'lcsat-views', 'lcsat-config' respectively so you can publish specifically with commandphp artisan vendor:publish --tag={name}. It is recommended that you publish the config file first in the case that you may require a different path to publish the package assets than what is set as the default. By default the assets is published to public/admin. The views file will publish to views/vendor/coreui-static.
2 - Configure Files
- Go to the published views in views/vendor/coreui-static folder and edit the admin.blade.php template to suit your needs. the views/vendor/coreui-static/partials folder contains all the sub views to make it easier for you to find your way around the files to edit to your heart's content.
3 - Create Your Layout
- In your main layout file, include the views/vendor/coreui-static/admin.blade.php file and you'll be up and running. Then as usual, in your pages, extend you main layout and get to work.
Available Section & Yield tags
Header Section & Yield Tags
- @yield('browser-title') : Dynamically change browser title
- @section('fonts') : add more fonts
- @section('header-stylesheets') : add more stylesheets
- @yield('custom-styles') : add custom css to head section
- @yield('header-js') : add javascript code to head section
- @yield('header-scripts') : add javascript files to head section
Body Yield Tags
- @yield('content') : add content to the page
Footer Section & Yield Tags
- @yield('footer-js') : add javascript code to foot section
- @section('footer-scripts') : add more javascript files to foot
Keep in mind that in order to keep what was already predifined in a @section, call the @parent code within the tags so that you don't over ride stuff that you want to keep.
Important Information
- Please update the header.blade.php and footer.blade.php files to correctly reference the css & js files. The files are located in the partials directory.
- You can build out your own template by including all the sub files in the partials folder around your own markup.
- See here for documentation of the coreui static theme.
- Go here to see a demo version.
Hint & Tips
- Use the developer tools and inspect the demo page to get an idea of mark up you can use to get some of the functionality that you desire, if the documentations haven't made it clear.
- The classes given to the body html element influences the theme behaviour greatly so it's a good place to start. The file is found in the views/vendor/coreui-static/partials/header.blade.php file.
Changelog
See our changelog to keep abreast of any worthy changes we have made, before issuing any issues.
Security Vulnerabilities
If you discover any security vulnerability within the code, please send an e-mail to Jenry Ollivierre via jenry@jenryollivierre.com.
License
Laravel Coreui Static Admin Theme is open-sourced and licensed under the MIT license.
jenryollivierre/laravel-coreui-static-admin-theme 适用场景与选型建议
jenryollivierre/laravel-coreui-static-admin-theme 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 303 次下载、GitHub Stars 达 6, 最近一次更新时间为 2018 年 04 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 jenryollivierre/laravel-coreui-static-admin-theme 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jenryollivierre/laravel-coreui-static-admin-theme 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 303
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-07
