mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
9 lines
223 B
JavaScript
9 lines
223 B
JavaScript
|
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
|