PostCSS configuration

You may add extra PostCSS plugins to your config and Maizzle will use them when it compiles Tailwind CSS.


For example, here's how you'd use Autoprefixer.

First, install the plugin:

npm install autoprefixer

Then register it in config.js:

module.exports = {
build: {
postcss: {
plugins: [

Any plugins that you register in the plugins array will be added at the end of the PostCSS plugins stack, which means they'll run after Tailwind CSS.

Copyright © 2024 Maizzle SRLBrand policy
Edit this page on GitHub