Skip to content

Docs on how to use vue-router with vue 2.7 composition api #3764

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
mika76 opened this issue Jul 19, 2022 · 2 comments
Closed

Docs on how to use vue-router with vue 2.7 composition api #3764

mika76 opened this issue Jul 19, 2022 · 2 comments

Comments

@mika76
Copy link

mika76 commented Jul 19, 2022

What problem does this feature solve?

I can't find anywhere info on how to use vue-router properly with the vue 2 version of composition api (especially now that 2.7 is out and people want to migrate slowly over). Which version of vue-router do I use - if I use 4.x the there is an unmet dependency on vue 3 - if I use 3.x then there are no composition api functions to use...

I know this might not be possible - but at the moment there is no info one way or the other, so really I'd just appreciate some clarification and suggest that maybe a comment in the docs would be helpful.

What does the proposed API look like?

Add some docs

@posva
Copy link
Member

posva commented Jul 20, 2022

Duplicate of #3760

@posva posva marked this as a duplicate of #3760 Jul 20, 2022
@posva posva closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2022
@vuejs vuejs locked and limited conversation to collaborators Jul 20, 2022
@posva
Copy link
Member

posva commented Jul 20, 2022

Please, search existing issues and pull requests before opening issues, it saves maintainers a lot of time 🙏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants