Level 35
In your webpack.mix.js file you can specify the custom tailwind config file in there:
mix.js('resources/js/app.js', 'public/js')
.postCss('resources/css/app.css', 'public/css', [
require('postcss-import'),
require('tailwindcss')({
config: './tailwind-custom-config.js'
}),
require('autoprefixer'),
]);
More info here: https://tailwindcss.com/docs/configuration#using-a-different-file-name
1 like