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

How to redirect page to login page? #58

Closed
arisandy opened this issue Dec 9, 2017 · 2 comments
Closed

How to redirect page to login page? #58

arisandy opened this issue Dec 9, 2017 · 2 comments

Comments

@arisandy
Copy link

arisandy commented Dec 9, 2017

ok, this is very very nice front end with webpack
but what i need is simple. how to redirect page to login page when user do not have a token?
how to set default route to login page if the token is blank?

@6miramira
Copy link

6miramira commented Dec 14, 2017

I have the same problem, cannot find anything related to this in the documentation

@smartapant
Copy link
Contributor

@arisandy @6miramira check out this vuejs/vuex-router-sync#3

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

3 participants