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

9 lines
201 B
TypeScript
Raw Permalink Normal View History

2023-11-08 18:02:55 +08:00
import { ElLoading } from 'element-plus'
export default defineNuxtPlugin((nuxtApp) => {
const plugins = [ElLoading]
for (const plugin of plugins) {
nuxtApp.vueApp.use(plugin)
}
})