pbrooker / laravel-mix-tailwind
There is no license information available for the latest version (1.2) of this package.
Laravel-mix-tailwind. Forked from Jeffery Way to update tailwind file name.
Package info
github.com/pbrooker/laravel-mix-tailwind
Language:JavaScript
Type:package
pkg:composer/pbrooker/laravel-mix-tailwind
1.2
2020-10-10 11:24 UTC
This package is auto-updated.
Last update: 2026-03-11 00:17:03 UTC
README
This extension provides instant Tailwind support to your Mix (v2.1 and up) builds.
Usage
First, install the extension.
npm install laravel-mix-tailwind --save-dev
Then, require it within your webpack.mix.js file, like so:
let mix = require('laravel-mix'); require('laravel-mix-tailwind'); mix .js('resources/js/app.js', 'public/js') .less('resources/less/app.less', 'public/css') .tailwind();
And you're done! Compile everything down with npm run dev. (And Don't forget to add the Tailwind directives to your Sass/Less/Stylus entry file.)