This repository was archived by the owner on May 3, 2018. It is now read-only.
This repository was archived by the owner on May 3, 2018. It is now read-only.
Can I use a compoent inherit other compoent? #354
Closed
Description
Q1:
Vue.extend
create a component construct of Vue, override it by pass data or $el to params
Vue.Component
register a component
But
How to do component inherit other?is it necessary?
For Example:
TableGrid, TreeGrid inherit Grid
Q2:
a component from vue.extend
. register it by Vue.Component('my-component', Vue.extend({}))
how to use this in Father Compoent?
var Father = new Vue({
//...
components: {
//how put it here?
}
//...
})
Metadata
Metadata
Assignees
Labels
No labels