bugfix:注释掉 uno 的 transformerVariantGroup,解决 vite 监控到 css 变化,导致 Login.vue 登录时的重加载问题
This commit is contained in:
parent
10483577b7
commit
de62a7a5b7
@ -1,5 +1,5 @@
|
||||
import { defineConfig, toEscapedSelector as e, presetUno } from 'unocss'
|
||||
import transformerVariantGroup from '@unocss/transformer-variant-group'
|
||||
// import transformerVariantGroup from '@unocss/transformer-variant-group'
|
||||
|
||||
export default defineConfig({
|
||||
// ...UnoCSS options
|
||||
@ -101,7 +101,7 @@ ${selector}:after {
|
||||
]
|
||||
],
|
||||
presets: [presetUno({ dark: 'class', attributify: false })],
|
||||
transformers: [transformerVariantGroup()],
|
||||
// transformers: [transformerVariantGroup()],
|
||||
shortcuts: {
|
||||
'wh-full': 'w-full h-full'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user