Skip to content

using vue component: custom name registration #656

@crazyxhz

Description

@crazyxhz

As the doc says: https://vuepress.vuejs.org/guide/using-vue.html#using-components
doc

the component is registered using the folder structure. e.g. I have a file components/w-button/w-button.vue is registered as w-button-w-button component.

How can I change this default behavior?
I want the auto comp registration follow the name property in the vue file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions