sintex/sintex-layout
Composer 安装命令:
composer require sintex/sintex-layout
包简介
Laravel 7 Sintex Layout Powered by Admin LTE 3
README 文档
README
Installation
composer require sintex/sintex-layout
Publishing Layout
php artisan vendor:publish --provider="SintexLayout\SintexLayoutProdvider"
Components
x- tag is an implementation of Laravel 7x
Top Navigation Layout
x-sintex-layout-top-nav
Usage
<x-sintex-layout-top-nav
title="Page Title"
header-text="Dashboard"
header-text-sm="This is the dashboard"
nav-bar-color="navbar-dark navbar-success"
brand-name="My Company"
text-sizing="text-md"
>
</x-sintex-layout-top-nav>
Parameters
- title - The page title [Required]
- header-text - Content Header text[Required]
- header-text-sm - Content Header text small [Required]
- nav-bar-color - Navigation Bar Color [Optional]
- brand-name - Brand Name [Required]
- text-sizing - Body text sizing [Optional]
Just add the parameters inside the component tag.
Named Slots
- navbar - Slot for Navigation menu bar
- breadcrumbItems - Slot for Breadcrumb items
<li> - content - Slot where the content to be inserted
- footer - Slot where the footer or company details or info to be inserted
- headerImports - Slot in header where the custom css or js file to be inserted
- footerImports - Slot in footer where the custom js file to be inserted
Insert the slots inside the component like shown usage below.
<x-sintex-layout-top-nav
title="Page Title"
header-text="Dashboard"
header-text-sm="This is the dashboard"
nav-bar-color="navbar-dark navbar-success"
brand-name="My Company">
<x-slot name="breadcrumbItems">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active">Dashboard v1</li>
</x-slot>
</x-sintex-layout-top-nav>
To see the full example implementation of the component, publish the views that can be found after publishing in /views/vendor/sintex-layouts/top-nav
Sidebar Layout
x-sintex-layout-sidebar
Usage
<x-sintex-layout-sidebar title="Server Error!" header-text="test" nav-bar-color="navbar-dark navbar-success" sidebar-color="sidebar-light-warning" brand-color="navbar-primary" brand-name="Helpdesk 4" text-sizing="text-md" > </x-sintex-layout-sidebar>
Parameters
- title - The page title [Required]
- header-text - Content Header text[Required]
- nav-bar-color - Navigation bar color [Optional]
- sidebar-color - Sidebar panel color [Optional]
- brand-color - Sidebar brand color [Optional]
- brand-name - Brand Name [Required]
- text-sizing - Body text sizing [Optional]
Named Slots
- navbar - Slot for Navigation menu bar
- sidebarMenu - Slot for sidebar menu items
<li> - breadcrumbItems - Slot for Breadcrumb items
<li> - sidebarUserPanel - Slot for sidebar user panel
- content - Slot where the content to be inserted
- footer - Slot where the footer or company details or info to be inserted
- headerImports - Slot in header where the custom css or js file to be inserted
- footerImports - Slot in footer where the custom js file to be inserted
<x-sintex-layout-sidebar title="Server Error!" header-text="test" nav-bar-color="navbar-dark navbar-success" sidebar-color="sidebar-light-warning" brand-color="navbar-primary" brand-name="Helpdesk 4"> <x-slot name="breadcrumbItems"> <li class="breadcrumb-item"><a href="#">Home</a></li> <li class="breadcrumb-item active">Dashboard v1</li> </x-slot> </x-sintex-layout-sidebar>
To see the full example implementation of the component, publish the views that can be found after publishing in /views/vendor/sintex-layouts/sidebar
Credits
sintex/sintex-layout 适用场景与选型建议
sintex/sintex-layout 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 12 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 07 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 sintex/sintex-layout 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sintex/sintex-layout 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: None
- 更新时间: 2020-07-11