Skip to content
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
@froyo-naux

Description

@froyo-naux

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions