Looking to hire Laravel developers? Try LaraJobs

laravel-tall maintained by jwohlfert23

Description
A set of blade components for TALL stack modeled after Tailwind UI
Author
Last update
2021/06/08 18:17 (dev-master)
License
Downloads
229

Comments
comments powered by Disqus

Laravel TALL

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 (https://github.com/tailwindlabs/tailwindcss/discussions/1446#discussioncomment-525828)

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.