jwohlfert23/laravel-tall
Composer 安装命令:
composer require jwohlfert23/laravel-tall
包简介
A set of blade components for TALL stack modeled after Tailwind UI
README 文档
README
A set of opinionated blade components to be used in the TALL stack (Tailwind, Alpine, Livewire, Laravel). Based on the examples provided via Tailwind UI.
Installation
composer require jwohlfert23/laravel-tall
Be sure to install and compile tailwind following their instructions here: https://tailwindcss.com/docs/installation
Once installed, to make these components work, you will need to add an override breakpoint, so that you are able to override default tailwind classes.
const { screens } = require('tailwindcss/defaultTheme'); module.exports = { theme: { screens: { ...screens, override: '0px', } } }
In practice, this will allow "bg-blue-500 override:bg-green-500" to always be a green button. Shout out to @ianjamieson for this solution (tailwindlabs/tailwindcss#1446 (comment))
Usage
Just use these components in your blade templates like so:
<x-date :date="Carbon::now()" />
Documentation on each component coming soon. For now, it's best to look at the source code.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 229
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-26