You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
332 B
13 lines
332 B
import type { App } from 'vue';
|
|
|
|
import { SvgIcon } from '@/components/basic/svg-icon';
|
|
import { IconFont } from '@/components/basic/iconfont';
|
|
|
|
/**
|
|
* 全局注册自定义组件
|
|
* @param app
|
|
*/
|
|
export function setupCustomComponents(app: App) {
|
|
app.component(SvgIcon.name, SvgIcon);
|
|
app.component(IconFont.name, IconFont);
|
|
}
|