Branch: master
Clone or download
JeffreyWay Merge pull request #1 from MichaelDeBoey/patch-1
Add laravel-mix 2.1 as a peerDependency
Latest commit ecd885e Dec 20, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Merge pull request #3 from ghost/elsyms-patch-readme-install Dec 20, 2018
index.js First draft Mar 16, 2018
package.json Add laravel-mix 2.1 as a peerDependency Mar 17, 2018


Laravel Mix Tailwind

This extension provides instant Tailwind support to your Mix (v2.1 and up) builds.


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');


    .js('resources/js/app.js', 'public/js')
    .less('resources/less/app.less', 'public/css')

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.)