From 1ed8fc35019c772d1334e0d0f43584f7a4044ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oktay=20=C5=9Eenkan?= Date: Sat, 5 Oct 2024 22:41:01 +0300 Subject: [PATCH] feat: implement dynamic import for icon components --- apps/vite-vue/src/App.vue | 2 +- packages/core/src/constants.ts | 5 --- .../core/src/errors/icon-not-found.error.ts | 8 ----- .../core/src/errors/invalid-icon.error.ts | 8 ----- .../src/errors/plugin-not-installed.error.ts | 20 ----------- packages/react/src/iconify.tsx | 34 +++++++++++++------ packages/svelte/src/lib/Iconify.svelte | 26 ++++++++------ packages/vue/src/Iconify.vue | 23 +++++++++---- 8 files changed, 58 insertions(+), 68 deletions(-) delete mode 100644 packages/core/src/constants.ts delete mode 100644 packages/core/src/errors/icon-not-found.error.ts delete mode 100644 packages/core/src/errors/invalid-icon.error.ts delete mode 100644 packages/core/src/errors/plugin-not-installed.error.ts diff --git a/apps/vite-vue/src/App.vue b/apps/vite-vue/src/App.vue index cb40d95..0aa71d0 100644 --- a/apps/vite-vue/src/App.vue +++ b/apps/vite-vue/src/App.vue @@ -2,7 +2,7 @@