feat: unocss add shortcuts

This commit is contained in:
xingyu
2023-10-31 10:04:31 +08:00
parent 899880bfe1
commit f26a4cae10
3 changed files with 6 additions and 3 deletions

View File

@ -101,5 +101,8 @@ ${selector}:after {
]
],
presets: [presetUno({ dark: 'class', attributify: false })],
transformers: [transformerVariantGroup()]
transformers: [transformerVariantGroup()],
shortcuts: {
'wh-full': 'w-full h-full'
}
})