nova-admin/unocss.config.ts
2022-08-06 16:08:47 +08:00

10 lines
368 B
TypeScript

import { defineConfig, presetUno, presetAttributify, presetIcons } from 'unocss'; // https://github.com/unocss/unocss
export default defineConfig({
presets: [presetUno(), presetAttributify(), presetIcons()],
shortcuts: {
'wh-full': 'w-full h-full',
'flex-center': 'flex justify-center items-center',
'flex-col-center': 'flex-center flex-col',
},
});