Skip to content

Error when building with vue esm alias: TypeError: n.default.component is not a function #40

Description

@cyanicr

Thanks for this library, works really good, but I encountered some issues while building my app.

The only thing I could say it would be different than other setups, would be that I have an alias set for vue to always load vue.esm.js

Image

When running the app in production I get this error:
TypeError: n.default.component is not a function

Image

Vue version: 2.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions