diff --git a/build/plugins/unplugin.ts b/build/plugins/unplugin.ts index 31f63fe..f2f49df 100644 --- a/build/plugins/unplugin.ts +++ b/build/plugins/unplugin.ts @@ -12,6 +12,7 @@ export default [ }), Icons({ /* options */ + compiler: 'vue3', }), createSvgIconsPlugin({ // 指定需要缓存的图标文件夹 diff --git a/package.json b/package.json index c699831..b218b96 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@commitlint/cli": "^17.0.3", "@commitlint/config-conventional": "^17.0.3", - "@iconify-icons/icon-park-outline": "^1.2.5", + "@iconify-json/icon-park-outline": "^1.1.5", "@iconify/vue": "^3.2.1", "@types/mockjs": "^1.0.6", "@types/node": "^18.6.5",