diff --git a/package.json b/package.json index 2f491e3..98aaf6c 100644 --- a/package.json +++ b/package.json @@ -71,6 +71,7 @@ "@types/qs": "^6.9.7", "@typescript-eslint/eslint-plugin": "^5.44.0", "@typescript-eslint/parser": "^5.44.0", + "@unocss/preset-icons": "^0.46.5", "autoprefixer": "^10.4.13", "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", @@ -87,8 +88,7 @@ "unocss-preset-weapp": "^0.2.4", "unplugin-vue-components": "^0.22.11", "vite": "^3.2.4", - "vite-plugin-eslint": "^1.8.1", - "vite-plugin-purge-icons": "^0.9.1" + "vite-plugin-eslint": "^1.8.1" }, "husky": { "hooks": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6055adf..df78d29 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,6 +27,7 @@ specifiers: '@types/qs': ^6.9.7 '@typescript-eslint/eslint-plugin': ^5.44.0 '@typescript-eslint/parser': ^5.44.0 + '@unocss/preset-icons': ^0.46.5 autoprefixer: ^10.4.13 crypto-js: ^4.1.1 echarts: ^5.4.0 @@ -91,6 +92,7 @@ devDependencies: '@types/qs': registry.npmmirror.com/@types/qs/6.9.7 '@typescript-eslint/eslint-plugin': registry.npmmirror.com/@typescript-eslint/eslint-plugin/5.44.0_fnsv2sbzcckq65bwfk7a5xwslu '@typescript-eslint/parser': registry.npmmirror.com/@typescript-eslint/parser/5.44.0_hsf322ms6xhhd4b5ne6lb74y4a + '@unocss/preset-icons': registry.npmmirror.com/@unocss/preset-icons/0.46.5 autoprefixer: registry.npmmirror.com/autoprefixer/10.4.13_postcss@8.4.19 eslint: registry.npmmirror.com/eslint/8.28.0 eslint-config-prettier: registry.npmmirror.com/eslint-config-prettier/8.5.0_eslint@8.28.0 diff --git a/src/components/Iconify/index.vue b/src/components/Iconify/index.vue index 2824806..2c524ab 100644 --- a/src/components/Iconify/index.vue +++ b/src/components/Iconify/index.vue @@ -1,48 +1,12 @@