element-plus/packages/button/index.ts
hangzou e8c162ea72
fix: fix rollup module (#434)
* fix(build): fix some export & import path

* fix(build): build utils

* fix: fix error import

* fix(build): fix import error

* fix(build): remove useless dependent

* fix(build): fix build command error
2020-10-20 11:45:44 +08:00

11 lines
269 B
TypeScript

import { App } from 'vue'
import Button from './src/button.vue'
import ButtonGroup from './src/button-group.vue'
export default (app: App): void => {
app.component(Button.name, Button)
app.component(ButtonGroup.name, ButtonGroup)
}
export { Button, ButtonGroup }