element-plus/src/components/button/index.ts

6 lines
146 B
TypeScript
Raw Normal View History

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