diff --git a/build/plugins/index.ts b/build/plugins/index.ts index a42799544..735401674 100644 --- a/build/plugins/index.ts +++ b/build/plugins/index.ts @@ -1,7 +1,7 @@ import type { PluginOption } from 'vite'; import vue from '@vitejs/plugin-vue'; import vueJsx from '@vitejs/plugin-vue-jsx'; -import unocss from 'unocss/vite'; +import unocss from '@unocss/vite'; import { VitePWA } from 'vite-plugin-pwa'; import progress from 'vite-plugin-progress'; import html from './html'; diff --git a/package.json b/package.json index d32d7b79a..62ffd83b6 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,7 @@ "typecheck": "vue-tsc --noEmit --skipLibCheck", "lint": "eslint . --fix", "prepare": "husky install", + "clean": "pnpm rimraf node_modules pnpm-lock.yaml", "postinstall": "patch-package", "release": "standard-version", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md" @@ -89,6 +90,8 @@ "@types/node": "^18.7.14", "@types/qs": "^6.9.7", "@types/ua-parser-js": "^0.7.36", + "@unocss/preset-uno": "^0.45.13", + "@unocss/vite": "^0.45.13", "@vitejs/plugin-vue": "^3.0.3", "@vitejs/plugin-vue-jsx": "^2.0.0", "commitizen": "^4.2.5", @@ -105,7 +108,6 @@ "sass": "^1.54.7", "standard-version": "^9.5.0", "typescript": "4.8.2", - "unocss": "^0.45.13", "unplugin-icons": "^0.14.8", "unplugin-vue-components": "0.22.4", "unplugin-vue-define-options": "^0.11.1", diff --git a/src/views/component/table/index.vue b/src/views/component/table/index.vue index 8a66c70d2..cd116ba4e 100644 --- a/src/views/component/table/index.vue +++ b/src/views/component/table/index.vue @@ -14,8 +14,9 @@ -