jwohlfert23 / laravel-tall
A set of blade components for TALL stack modeled after Tailwind UI
Installs: 228
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^7.4|^8.0
- illuminate/contracts: ^8.37
- spatie/laravel-package-tools: ^1.4.3
Requires (Dev)
- brianium/paratest: ^6.2
- nunomaduro/collision: ^5.3
- orchestra/testbench: ^6.15
- phpunit/phpunit: ^9.3
- spatie/laravel-ray: ^1.9
- vimeo/psalm: ^4.4
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.