element-plus/packages/icon/index.ts

6 lines
133 B
TypeScript
Raw Normal View History

2020-08-04 11:09:19 +08:00
import { App } from 'vue'
import Icon from './src/index.vue'
export default (app: App): void => {
app.component(Icon.name, Icon)
}