Skip to content

A way to get an array of all the components that are autoloaded #250

@SebbeJohansson

Description

@SebbeJohansson

Is your feature request related to a problem? Please describe.
I have previously used this.$options.components to access all the components that has been added using Vue.component(). Now that i am using @nuxt/components i don't need to use vue.component(), but i still need a way to check all the imported components.

Describe the solution you'd like
An array of all the components that are accessible some how.

Describe alternatives you've considered
I have not found an alternative solution, besides scrapping the whole feature that uses this.

Additional context
Maybe i have missed a way to do this somewhere, but as far as i can tell it is not possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions