mirror of
https://gitee.com/yiming_chang/vue-pure-admin.git
synced 2024-12-02 11:17:39 +08:00
22 lines
580 B
TypeScript
22 lines
580 B
TypeScript
import {
|
|
transformerVariantGroup,
|
|
transformerDirectives,
|
|
presetAttributify,
|
|
defineConfig,
|
|
presetMini,
|
|
presetUno
|
|
} from "unocss";
|
|
|
|
// https://github.com/unocss/unocss#readme
|
|
export default defineConfig({
|
|
presets: [presetMini({ dark: "class" }), presetAttributify(), presetUno()],
|
|
transformers: [transformerDirectives(), transformerVariantGroup()],
|
|
exclude: [`${__dirname}/node_modules/**/*`],
|
|
shortcuts: {
|
|
"wh-full": "w-full h-full",
|
|
"flex-ac": "flex justify-around items-center",
|
|
"flex-bc": "flex justify-between items-center"
|
|
},
|
|
theme: {}
|
|
});
|