finance-pay-admin/pc/plugins/element-plus.ts

9 lines
201 B
TypeScript
Executable File

import { ElLoading } from 'element-plus'
export default defineNuxtPlugin((nuxtApp) => {
const plugins = [ElLoading]
for (const plugin of plugins) {
nuxtApp.vueApp.use(plugin)
}
})