Skip to content

Commit

Permalink
fix: extractorMdc
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Apr 30, 2024
1 parent 8e98066 commit c3d7ed3
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 38 deletions.
4 changes: 4 additions & 0 deletions packages/client/uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
transformerVariantGroup,
} from 'unocss'
import { variantMatcher } from '@unocss/preset-mini/utils'
import extractorMdc from '@unocss/extractor-mdc'

export default defineConfig({
safelist: [
Expand Down Expand Up @@ -48,4 +49,7 @@ export default defineConfig({
transformerDirectives({ enforce: 'pre' }),
transformerVariantGroup(),
],
extractors: [
extractorMdc(),
],
})
1 change: 1 addition & 0 deletions packages/slidev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"@slidev/client": "workspace:*",
"@slidev/parser": "workspace:*",
"@slidev/types": "workspace:*",
"@unocss/extractor-mdc": "^0.59.4",
"@unocss/reset": "^0.59.3",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
Expand Down
Loading

0 comments on commit c3d7ed3

Please sign in to comment.