element-plus/packages/message/index.ts
zazzaz b19d2fc374
fix: correct bundle export (#630)
* fix: correct bundle export

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update
2020-11-20 20:24:16 +08:00

9 lines
187 B
TypeScript

import { App } from 'vue'
import Message from './src/message'
(Message as any).install = (app: App): void => {
app.config.globalProperties.$message = Message
}
export default Message