16 lines
477 B
TypeScript
16 lines
477 B
TypeScript
/**
|
|
* 全局注册自定义组件 待完善
|
|
* @param app
|
|
*/
|
|
import { App } from 'vue';
|
|
import { PageWrapper, PageFooter } from '@/components/Page';
|
|
import { basicModal } from '@/components/Modal';
|
|
import { Authority } from '@/components/Authority';
|
|
|
|
export function setupCustomComponents(app: App) {
|
|
app.component('PageWrapper', PageWrapper);
|
|
app.component('basicModal', basicModal);
|
|
app.component('PageFooter', PageFooter);
|
|
app.component('Authority', Authority);
|
|
}
|