Skip to content

[2.0.0-beta.3]not redirect to root router automatically now? #587

Closed
@JounQin

Description

@JounQin

Vue.js & vue-router.js version

2.0.0-beta.5, 2.0.0-beta.3

Reproduction Link

https://jsfiddle.net/JounQin/4f6g94ut/
https://jsfiddle.net/JounQin/7fsmc4fp/

Steps to reproduce

Just look at the above.

What is Expected?

In the first jsfiddle file, I didn't add:

{
    path: '*',
    redirect: '/'
}

and it could not redirect to the root router automatically.

What is actually happening?

What I'm saying is that, when I try to open localhost:8080 it doesn't redirect to localhost:8080/#/.

Is that an issue or a feature that we should handle initialization by ourselves?

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