ye-modal

测试学习npm上传组件

Usage no npm install needed!

<script type="module">
  import yeModal from 'https://cdn.skypack.dev/ye-modal';
</script>

README

文档地址

http://callmeye.gitee.io/vue-modal-gitee/

安装使用

$ npm install ye-modal -D$ yarn add ye-modal --dev

快速使用

引入

import ye-modal from ye-modal
Vue.use(ye-modal)//使用我们的组件注册到全局
<modal>...</modal>

API

属性 说明 类型 默认值
visible 对话框是否可见 Boolean false
comfirm 点击遮罩层或取消按钮的回调 Function -

反馈沟通

https://gitee.com/callmeye/vue-modal-gitee/issues