Skip to content

Enable Module Support in nuxt-component-meta CLI #74

Open
@romhml

Description

@romhml

Currently, the nuxt-component-meta CLI does not resolve components correctly for modules.

Here's a reproduction: https://stackblitz.com/edit/stackblitz-starters-kjvwap

Running pnpm nuxt-component-meta . does not find any components in the module. Although pnpm nuxt-component-meta src/runtime will find components, it will not resolve any types from #build since the build directory will not be resolved correctly.

The expected behaviour would be to generate component meta for a Nuxt Module when running pnpm nuxt-component-meta ..

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