element-plus/packages/button/index.ts

6 lines
133 B
TypeScript
Raw Normal View History

2020-07-21 18:18:44 +08:00
import { App } from 'vue'
import Button from './src/index.vue'
2020-07-21 18:40:15 +08:00
export default (app: App) => {
2020-07-21 18:18:44 +08:00
app.component(Button.name, Button)
}