badworks/tailwind-preset

This package is abandoned and no longer maintained. No replacement package was suggested.

A Tailwind CSS preset for Laravel.

1.0.2 2019-06-07 19:33 UTC

This package is auto-updated.

Last update: 2020-02-07 21:07:50 UTC


README

Latest Version on Packagist Software License Quality Score StyleCI Total Downloads

This package is mostly a fork of Adam Wathan's Laravel Preset, with some updates and some personal preferences.

Includes:

  • Tailwind CSS
  • Purgecss, via spatie/laravel-mix-purgecss
  • Vue.js
  • postcss-preset-env
  • Support for JS Decorators
  • Support for Vue class components
  • Removes SASS in favour of PostCSS
  • Removes Bootstrap and jQuery
  • Adds compiled assets to .gitignore
  • Adds a simple Tailwind-tuned default layout template
  • Replaces the welcome.blade.php template with one that extends the main layout

Installation

To install this preset, you must first require the composer dependency in your application. Laravel will automatically register the service provider for you.

composer require badworks/tailwind-preset

Now, apply the scaffolding with

 php artisan preset tailwind

Credits