Skip to content

[Vue warn]: Extraneous non-props attributes when testing router-view #1860

Open
@raphaelschwinger

Description

@raphaelschwinger

We are trying to test one of our views. This view is displaying two components and a router-view.
In the router-view two "child" views get rendered and props and event listeners should be attached.
The structure of our "parent" view is like this:

<ControlsA />
<router-view
:propA
:propB
@eventlistener
/>
<ControlsB />

We followed the guide here

Subject of the issue

When testing the "parent" view we get the following error:

[Vue warn]: Extraneous non-props attributes (propA, propB) ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions