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.

#Vuejs: How to check if a vue component witha particular name already created #140

@Anshul-Batra

Description

@Anshul-Batra

Hi,

My code is creating the vue component dynamically like below:

Vue.component('CompOne', {
            'template':"<div>test</div>"
        });

I want to check if a component with name 'CompOne' already exist then it should not create another component with same name.

please suggest me the way how to check if a vue component with some name is already created.

Thanks

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