Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 542 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 542 Bytes

unocss-preset-daisyui

Installation

npm i -D unocss daisyui unocss-preset-daisyui

Usages

uno.config.ts

import { defineConfig, presetUno } from 'unocss'
import presetDaisy from 'unocss-preset-daisyui'

export default defineConfig({
  presets: [
    presetUno(),
    presetDaisy(),
  ],
})

Options

Same as daisyui option

NOTE

Some special prefixes('link-xx', 'file-xx') may conflict with variants in presetMini().

please use '_link-xx', '_file-xx' OR set prefiex in option to avoid conflict