Skip to content

v2: Component without a single root node trigger warnings #76

@LeBenLeBen

Description

@LeBenLeBen

If you try to render a component in vue-live that doesn’t hold a single root element, for example:

<div>A</div>
<div>B</div>

It will trigger the following warnings:

[Vue warn]: Extraneous non-props attributes (id) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.
[Vue warn]: Extraneous non-emits event listeners (detectLanguage, error, success) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions