Skip to content

Commit

Permalink
feat(unocss): 前缀组支持
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Jun 17, 2023
1 parent b242e25 commit 0390f99
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@unocss/eslint-config": "^0.53.1",
"@unocss/reset": "^0.53.1",
"@unocss/transformer-directives": "^0.53.1",
"@unocss/transformer-variant-group": "^0.53.1",
"@vitejs/plugin-legacy": "^4.0.4",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
Expand Down
11 changes: 7 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import {

import presetAutoprefixer from 'unocss-preset-autoprefixer'
import transformerDirectives from '@unocss/transformer-directives'
import transformerVariantGroup from '@unocss/transformer-variant-group'

export default defineConfig({
transformers: [transformerDirectives()],
transformers: [transformerDirectives(), transformerVariantGroup()],
presets: [
presetAttributify(),
presetIcons({
Expand Down

0 comments on commit 0390f99

Please sign in to comment.