Skip to content

Module kills nuxt bootstrap when combined with component libraries #29

@fago

Description

@fago

When combining with component libraries like shadcn-vue or nuxt-ui nuxt dev-mode (started via npm run dev) stops working. It starts to error out:

`

ERROR Cannot start nuxt: Could not find main source file
`

When removing the nuxt-component-preview things are working again. Seems like the component-scanning has issues with non-local components.

Reproduction - try this branch:
https://github.com/drunomics/lupus-decoupled-nuxt3-demo-shadcn/tree/component-preview

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