Back to Windicss

Transform API

plugins/transform.md

latest394 B
Original Source

Transform API

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

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

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

See more plugins: https://github.com/windicss/plugins