Skip to content

vue-router is not working in production builds #417

@dcharles525

Description

@dcharles525

Setup

  • Epinio version: 1.11
  • Epinio UI version: 1.12
  • Browser type & version: Firefox

Describe the bug
vue-router's useRouter function becomes undefined once the extension is built.

To Reproduce
Load the extension via developer load by executing the build-pkg and serve-pkg commands, try to login to a cluster and the page will not change.

Result

Expected Result
The router should forward the user to the dashboard page after login but it fails due to router being undefined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions