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

9 lines
223 B
JavaScript
Raw Normal View History

2019-08-01 13:46:03 +08:00
import Confirm from './src/index.js'
import ConfirmComp from './src/confirm.vue'
Confirm.install = function (Vue) {
Vue.prototype.$NModal = Confirm
Vue.component(ConfirmComp.name, ConfirmComp)
}
export default Confirm