Skip to content

How to pass the router prop to <RouterView /> #1478

Open
@niceplugin

Description

@niceplugin

Version

4.1.2

Reproduction link

codesandbox.io

Steps to reproduce

  1. Configure your router.
  2. Go to router.
  3. throws an error.

What is expected?

<router-view/> renders the route component.

What is actually happening?

Error!
Console is:
[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at......


I was told to report the error message to vue/core.
But this can happen because I don't know how to use it.
So I reported it to vue/router .
If I'm using it wrong, the documentation might need more explanation.
Description is too sparse.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsConcerns the documentation content or the documentation website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions