Fork me on GitHub
摘要: 组件注册: // 注册组件 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 阅读(847) 评论(0) 推荐(0) 编辑