src/main.ts
@@ -6,6 +6,7 @@ import { i18n } from '/@/i18n/index'; import other from '/@/utils/other'; import "@amap/amap-jsapi-types"; import '/@/extend'; import ElementPlus from 'element-plus'; import '/@/theme/index.scss'; @@ -13,6 +14,7 @@ import * as ElementPlusIconsVue from '@element-plus/icons-vue'; import { gotoRoute } from '/@/utils/route'; const app = createApp(App); for (const [key, component] of Object.entries(ElementPlusIconsVue)) { app.component(key, component);