Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning when rendering a component with a native hgroup element #6663

Closed
BrettOrmsby opened this issue Sep 14, 2022 · 1 comment
Closed

Warning when rendering a component with a native hgroup element #6663

BrettOrmsby opened this issue Sep 14, 2022 · 1 comment

Comments

@BrettOrmsby
Copy link

Vue version

3.2.39

Link to minimal reproduction

https://github.com/BrettOrmsby/hgroup

Steps to reproduce

The warning occurs whenever a component is rendered with a native hgroup element within.

<template>
  <hgroup>
    <h1>Warning</h1>
    <p>Check the developer tools console.</p>
  </hgroup>
</template>

What is expected?

No warning to occur.

What is actually happening?

A warning is sent runtime-core.esm-bundler.js:38 [Vue warn]: Failed to resolve component: hgroup If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.

System Info

System:
    OS: macOS 12.5.1
    CPU: (8) arm64 Apple M2
    Memory: 1.04 GB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.11.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 105.0.5195.102
    Safari: 15.6.1
  npmPackages:
    vue: ^3.2.38 => 3.2.39

Any additional comments?

The hgroup element currently has 96.05% support over all browsers (https://caniuse.com/?search=hgroup). I have not had this issue for any other native elements, only the hgroup element.

@edison1105
Copy link
Member

duplicate of #6313

@github-actions github-actions bot locked and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants