Skip to content

[2.0] Can't resolve beforeRouteEnter with async component #625

Closed
@JounQin

Description

@JounQin

Vue.js & vue-router.js version

2.0.0-rc.4, 2.0.0-rc.4

Reproduction Link

https://github.com/JounQin/vue-router/commit/d8c6b9febc50b853fb2753d89c5f241e969368ba

Steps to reproduce

just change Qux.vue to an async component

What is Expected?

resolve async data at the first time

What is actually happening?

it doesn't work at the first time but when entering the route next time, it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions