Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
de62a7a5
authored
Nov 03, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix:注释掉 uno 的 transformerVariantGroup,解决 vite 监控到 css 变化,导致 Login.vue 登录时的重加载问题
parent
10483577
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
uno.config.ts
+2
-2
No files found.
uno.config.ts
View file @
de62a7a5
import
{
defineConfig
,
toEscapedSelector
as
e
,
presetUno
}
from
'unocss'
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
({
export
default
defineConfig
({
// ...UnoCSS options
// ...UnoCSS options
...
@@ -101,7 +101,7 @@ ${selector}:after {
...
@@ -101,7 +101,7 @@ ${selector}:after {
]
]
],
],
presets
:
[
presetUno
({
dark
:
'class'
,
attributify
:
false
})],
presets
:
[
presetUno
({
dark
:
'class'
,
attributify
:
false
})],
transformers
:
[
transformerVariantGroup
()],
//
transformers: [transformerVariantGroup()],
shortcuts
:
{
shortcuts
:
{
'wh-full'
:
'w-full h-full'
'wh-full'
:
'w-full h-full'
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment