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

Related issues

yyx990803 picture yyx990803  路  3Comments

mitar picture mitar  路  3Comments

kerlor picture kerlor  路  3Comments

alexstanbury picture alexstanbury  路  3Comments

marcvdm picture marcvdm  路  3Comments