会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
赵小生的技术博客
博客园
首页
新随笔
联系
订阅
管理
2017年8月19日
vue-父子组件嵌套的示例
摘要: 组件注册: // 注册组件 Vue.component('my-component', { template: 'A custom component!' }) 注册局部组件 var childComponent = Vue.extend({ template: 'this is child template' }); Vue.component("parent",{...
阅读全文
posted @ 2017-08-19 20:39 赵小生z
阅读(850)
评论(0)
推荐(0)
编辑
公告