Skip to content

The node-resolve plugin seems to break Vue when the Vue app imports a lib and consumes a native web components. #1683

Closed

Description

@jrgleason

Expected Behavior

I would like to generate component libraries using rollup and MUI. To do this I need to use the node-resolve plugin. However, when I try to import the components created by rollup and the plugin I get an error (see the Vue issue). If I remove the plugin everything seems to work but that requires me also removing MUI.

Actual Behavior

I would like to be able to use web components generated using rollup and node-resolve in a vue project

Additional Information

I think the easiest thing to do here is reference the Vue issue. There is a link to the github repo for the example project and an explination in there. Let me know if you want me to add or duplicate additional information to this post.

Activity

  1. locked and limited conversation to collaborators on Feb 19, 2024
  2. converted this issue into a discussion #1684 on Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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