laravel-mix-tailwind
laravel-mix-tailwind copied to clipboard
mix.tailwind()
with require('tailwindcss') I was able to use prefix in tailwind.config.js module.exports = { prefix: "tw-" }; with laravel-mix-tailwind it does not recognize prefix.
I have two mix files. One is 'webpack.mix.js' for website and 'webpack.mix.admin.js'. So I have created two tailwind config files. One is 'tailwind.config.js' for 'webpack.mix.js' and another one is 'tailwind.admin.config.js'...
 
When executing `npm run watch` JIT will not pick up the changes, however i could get it to work by changing run command in `packages.json` from "watch mix watch", to...
hi guys.. in development the webpack works well, but when I run yarn production the css doesn't work. Can someone help me? `const mix = require('laravel-mix'); require('mix-tailwindcss'); mix .js('resources/js/app.js', 'public/prod/js')...
`const mix = require('laravel-mix'); require('mix-tailwindcss'); mix.js('resources/js/app.js', 'public/js') .sass('resources/sass/app.scss', 'public/css') .tailwind('dsdsjsdisdio'); ` The above code should fail, but it does not. Currently my npm verson is 6.3.0. I got the latest...