addseed-ux-admin/unocss.config.ts

11 lines
296 B
TypeScript

import { defineConfig, presetAttributify, presetUno } from 'unocss';
export function createConfig({ strict = true, dev = true } = {}) {
return defineConfig({
envMode: dev ? 'dev' : 'build',
presets: [presetAttributify({ strict }), presetUno()],
});
}
export default createConfig();