7 lines
242 B
TypeScript
7 lines
242 B
TypeScript
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
|
|
export default defineNuxtPlugin((NuxtApp) => {
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
NuxtApp.vueApp.component(key, component)
|
|
}
|
|
}) |