prometa/sleek 问题修复 & 功能扩展

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

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

prometa/sleek

最新稳定版本:v0.0.165

Composer 安装命令:

composer require prometa/sleek

包简介

Bootstrap UI components with aggressive defaults

README 文档

README

Sleek is a Laravel package that provides Bootstrap UI components with aggressive defaults for rapid Laravel development. Every behavior defaults to the most likely use case, while remaining fully customizable.

Installation

To get started, install Sleek via the Composer package manager:

composer require prometa/sleek

By default, the service provider is automatically registered via Laravel's package auto-discovery. No additional steps are required.

However, if auto-discovery is disabled or does not work as expected, you can register the service provider manually. To do this, add the following line to the providers array in your config/app.php file:

\Prometa\Sleek\Providers\SleekServiceProvider::class,

Sleek offers a setup command to automatically install and set up the necessary dependencies. The sleek:setup command will check your bootstrap and bootstrap-icons installations and inject an import to sleek's sass into your app.scss:

php artisan sleek:setup

Documentation

  • Page Layout — page scaffolding, assets, menu, authentication, language, theme
  • Navigation — breadcrumbs
  • Forms — form, form fields, form groups, entity forms, value extraction
  • Tables — entity tables, sorting, pagination, custom columns
  • Eloquent Extensions — autoSort, autoPaginate, autoFilter
  • UI Components — icon, alert, card
  • Modals — modal, modal-form
  • Tabs — presets, headless component, HTMX integration
  • Blade Directives — @capture/@into, @flags/@flag, @forwardSlots, @ensureSlotFor
  • Implicit Behaviors — quick-reference for all convention-based magic

统计信息

  • 总下载量: 795
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-11