Skip to content

[Docs] Mistake in Router Construction Options types #2453

@Askold-Dorot

Description

@Askold-Dorot

Version

3.0.1

Reproduction link

https://router.vuejs.org/api/#routes

Steps to reproduce

In API Reference type of RouteConfig.params is "boolean | string | Function". But in docs in section "Passing Props to Route Components", there are three modes for this. Boolean mode, Object mode, Function mode. This mistake was included in all languages

What is expected?

boolean | Object | Function

What is actually happening?

boolean | string | Function


Link to section "Passing Props to Route Components" https://router.vuejs.org/guide/essentials/passing-props.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions