element-plus/packages/icon/index.ts
2020-08-04 11:51:01 +08:00

6 lines
133 B
TypeScript

import { App } from 'vue'
import Icon from './src/index.vue'
export default (app: App): void => {
app.component(Icon.name, Icon)
}