mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
5bd50ac16e
- Remake dialog with templates instead of render function
9 lines
165 B
TypeScript
9 lines
165 B
TypeScript
import { App } from 'vue'
|
|
import Dialog from './src/index.vue'
|
|
|
|
Dialog.install = (app: App): void => {
|
|
app.component(Dialog.name, Dialog)
|
|
}
|
|
|
|
export default Dialog
|