Vue-router: [feature request] Could i use 'append' in $router

Created on 22 Nov 2017  ·  3Comments  ·  Source: vuejs/vue-router

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

Most helpful comment

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

All 3 comments

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

thks

This should be a part of the docs.

Was this page helpful?
0 / 5 - 0 ratings