Skip to content

Commit

Permalink
refactor unocss import
Browse files Browse the repository at this point in the history
  • Loading branch information
xsjcTony committed Nov 19, 2023
1 parent 527011f commit 423d4d9
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 453 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unocssPlugin from '@unocss/vite'
import unocss from 'unocss/vite'
import { defineConfig } from 'vitepress'
import externalLinkIcon from './plugins/externalLinkIcon'

Expand All @@ -9,7 +9,7 @@ export default defineConfig({

vite: {
plugins: [
unocssPlugin(),
unocss(),
],
},

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"@typescript-eslint/parser": "^6.11.0",
"@unocss/core": "^0.57.5",
"@unocss/preset-mini": "^0.57.5",
"@unocss/vite": "^0.57.5",
"@vue/language-server": "^1.8.22",
"bumpp": "^9.2.0",
"eslint": "^8.54.0",
Expand Down
Loading

0 comments on commit 423d4d9

Please sign in to comment.