2017 © Pedro Peláez
 

library tailwind-preset

A Tailwind CSS preset for Laravel.

image

zaknesler/tailwind-preset

A Tailwind CSS preset for Laravel.

  • Sunday, July 29, 2018
  • by zaknesler
  • Repository
  • 1 Watchers
  • 6 Stars
  • 47 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Tailwind CSS Laravel Front-end Preset

Latest Stable Version Total Downloads License, (*1)

Laravel 7+ front-end preset for Tailwind CSS. Includes Vue.js (and an example component), a clean and fully-responsive UI, and the utilization of Blade components to reduce code duplication., (*2)

This preset also uses Laravel Mix to compile and minify assets. Tailwind comes packaged with PurgeCSS, and this preset is configured to purge the proper files., (*3)

This preset is built for Laravel 7 and up. For Laravel 5 or 6, please use version 5.0., (*4)

Example Repository, (*5)

View preview screenshots
, (*6)

Welcome View, (*7)

Login View, (*8)

Home View, (*9)

Responsive Nav, (*10)

, (*11)

Warning

Laravel presets are designed to be installed onto a fresh instance of Laravel. This preset will overwrite your existing views, assets, and Home controller. Please use with caution., (*12)

Installation

  1. Require the composer dependency. Laravel will automatically register the package., (*13)

    composer require zaknesler/tailwind-preset --dev
    
  2. Install the preset:, (*14)

    php artisan ui tailwind --auth
    
    # Without authentication scaffolding
    php artisan ui tailwind
    
  3. Install the npm dependencies using your preferred package manager:, (*15)

    # Using Yarn
    yarn
    
    # Using npm
    npm install
    
  4. Compile assets:, (*16)

    # Using Yarn
    yarn dev
    
    # Using npm
    npm run dev
    

Customization

Tailwind is built to be fully customizable, and thus, the tailwind.config.js file that comes with this preset includes a handful of customizations to help get you started. These include adding Inter to the default font stack, a theme color palette for quick customization, as well as configuration for the Tailwind custom-forms plugin., (*17)

The theme color palette, by default, simply destructures Tailwind's blue color palette, but can be easily swapped out for your own color palette. For more information, visit the Tailwind color customization page., (*18)

This preset is designed to utilize many Tailwind features, including using a plugin, overriding default theme values, extracting components using @apply, and configuration for PurgeCSS. To really get the most out of Tailwind, you need to use it! Take a deep dive into Tailwind's incredible documentation, and most importantly... get your hands dirty with it! I hope this preset helps you out!, (*19)

The Versions

29/07 2018

dev-master

9999999-dev

A Tailwind CSS preset for Laravel.

  Sources   Download

MIT

The Requires

 

by Zak Nesler

laravel preset tailwind tailwindcss laravel preset

22/06 2018

v0.1.3

0.1.3.0

A Tailwind CSS preset for Laravel.

  Sources   Download

MIT

The Requires

 

by Zak Nesler

laravel preset tailwind tailwindcss laravel preset

25/05 2018

v0.1.2

0.1.2.0

A Tailwind CSS preset for Laravel.

  Sources   Download

MIT

The Requires

 

by Zak Nesler

laravel preset tailwind tailwindcss laravel preset

25/05 2018

v0.1.1

0.1.1.0

A Tailwind CSS preset for Laravel.

  Sources   Download

MIT

The Requires

 

by Zak Nesler

laravel preset tailwind tailwindcss laravel preset

24/05 2018

v0.1.0

0.1.0.0

A Tailwind CSS preset for Laravel.

  Sources   Download

MIT

The Requires

 

by Zak Nesler

laravel preset tailwind tailwindcss laravel preset