mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
9 lines
281 B
TypeScript
9 lines
281 B
TypeScript
import { App } from 'vue'
|
|
import Notification from './src/index.vue'
|
|
import Notify from './src/notify'
|
|
export default (app: App): void => {
|
|
app.component(Notification.name, Notification)
|
|
app.config.globalProperties.$notify = Notify
|
|
console.log(app.config.globalProperties)
|
|
}
|