thebigk
1 month ago
434
1
Mix

Laravel 8 and TailwindCSS Purge Option

Posted 1 month ago by thebigk

Can someone show me how to use the TailwindCSS purge option; available in the tailwind.config.js file, along with laravel mix so that I can minimize the CSS file size?

module.exports = {
  purge: [],
  theme: {
    extend: {},
  },
  variants: {},
  plugins: [
    require('@tailwindcss/ui'),
  ],
}

What path should I specify in purge: [] ?

Please sign in or create an account to participate in this conversation.