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: https://github.com/windicss/plugins