mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +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
|