Winden

DaisyUI

DaisyUI Configuration Link: https://daisyui.com/docs/config/

import daisyui from 'https://cdn.skypack.dev/daisyui';

export default {

  plugins: [
    daisyui
  ]

}

Warning

It seems there’s an issue with DaisyUI in their latest update when using ESM.SH. Instead, please use cdn.skypack.dev.

Info

It is important to set the logs as false to work within WordPress as below

daisyui: {
    logs: false, // Shows info about daisyUI version and used config in the console when building your CSS
}

For more configrations, kindly follow the official daisyUI docs.

https://daisyui.com/docs/config/


New to ESM import?

Table of Contents