Skip to content
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

If the third parameter is omitted in router.push(), will cause unhandledRejectionError on SSR #3037

lmf opened this issue Nov 23, 2019 · 1 comment


Copy link

@lmf lmf commented Nov 23, 2019



Reproduction link

Steps to reproduce

1、router.js use beforeEnter in path

    path: '/index',
    component: Index,
    beforeEnter: (to, from, next) => {
        next({ path: '/' })
  1. when SSR, this will: router.push('/index') => history.confirmTransition => abort()

What is expected?

Don't make unhandledRejectionError

What is actually happening?



This comment has been minimized.

Copy link

@posva posva commented Nov 23, 2019

Please see related issues and #2881 (comment)

@posva posva closed this Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.