Skip to content

[Docs] Mistake in Router Construction Options types #2453

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

Closed
Askold-Dorot opened this issue Oct 27, 2018 · 0 comments
Closed

[Docs] Mistake in Router Construction Options types #2453

Askold-Dorot opened this issue Oct 27, 2018 · 0 comments

Comments

@Askold-Dorot
Copy link

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

@posva posva closed this as completed in c7050bc Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant