Skip to content

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

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

Closed
JounQin opened this issue Jul 29, 2016 · 1 comment
Closed

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

JounQin opened this issue Jul 29, 2016 · 1 comment

Comments

@JounQin
Copy link
Contributor

JounQin commented Jul 29, 2016

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?

yyx990803 added a commit that referenced this issue Jul 29, 2016
@yyx990803
Copy link
Member

Fixed in beta.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants