Skip to content

[feature request] Could i use 'append' in $router #1899

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
yoyo837 opened this issue Nov 22, 2017 · 3 comments
Closed

[feature request] Could i use 'append' in $router #1899

yoyo837 opened this issue Nov 22, 2017 · 3 comments

Comments

@yoyo837
Copy link

yoyo837 commented Nov 22, 2017

What problem does this feature solve?

/order/123
this.$router.append('cancel')
/order/123/cancel

What does the proposed API look like?

append current path

#911

@yoyo837 yoyo837 changed the title Could i use 'append' in $router [feature request] Could i use 'append' in $router Nov 22, 2017
@posva
Copy link
Member

posva commented Nov 22, 2017

Do router.push({ path: 'foo', append: true })

@posva posva closed this as completed Nov 22, 2017
@melunar
Copy link

melunar commented Feb 27, 2019

thks

@thebrownfox
Copy link

This should be a part of the docs.

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

4 participants