naive-ui/packages/common/Notification/index.js

9 lines
206 B
JavaScript
Raw Normal View History

2019-06-20 19:10:53 +08:00
import Notification from './src/main.js'
Notification.install = function (Vue) {
Vue.prototype.$NNotification = Notification
2019-06-21 00:34:24 +08:00
Vue.prototype.$nNotify = Notification.notify
2019-06-20 19:10:53 +08:00
}
export default Notification