Transform API

For tailwind plugins, we generally use Transform API to support them. You can import them to your config like below:

const { transform } = require('windicss/helpers')

export default {
  theme: {
    // ...
  plugins: [
    transform('plugin-name'), // replace require with transform

See more plugins:

Windi CSS is Sunsetting We recommend new projects to consider alternatives. Click for more information.