会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
rooloo
博客园
首页
联系
订阅
管理
2021年3月18日
封装一个公共组件并上传到npm仓库
摘要: - src -- myPackage 自定义组件库 zoo-modal 自定义组件 src 组件内容 index.vue -- index.js 注册可以使用按需引入方法的组件 -- installComponents.js 全局注册组件 1.封装组件 zoo-modal/src/index.vue
阅读全文
posted @ 2021-03-18 11:08 zoo-x
阅读(665)
评论(0)
推荐(0)
编辑
公告