import { defineConfig, presetWind, presetAttributify } from 'unocss' export default defineConfig({ presets: [ presetWind(), // prefixedOnly: avoids false-positive CSS for bare attribute names like "h2", "grid", // "shadow" in source files. Use
not
. Gotcha #4. presetAttributify({ prefix: 'un-', prefixedOnly: true }), ], })