Skip to content

bug: Ionic Vue components show as Anonymous Component in Vue 3 Dev tools #25199

@sean-perkins

Description

@sean-perkins

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

Vue developers using the Vue 3 Dev tools will see "Anonymous Component" in place of all generated Vue wrappers.

Screen Shot 2022-04-26 at 2 08 10 PM

Expected Behavior

The component name should display instead.

Steps to Reproduce

  1. Install Vue 3 Dev Tools Chrome extension
  2. Open Ionic Vue app
  3. Open dev tools
  4. Jump to Vue dev tools
  5. See that Ionic components display as "Anonymous Component"

Code Reproduction URL

No response

Ionic Info

N/A

Additional Information

This is a two part issue:

  1. The output targets repo is generating the proxies incorrectly: fix(vue): apply vue component name to wrapper stenciljs/output-targets#257
  2. The custom maintained proxies (routing components) are also generating incorrectly

Will open a PR shortly for both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions