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

vue-router doesn't route from root path #60

Closed
paul121 opened this issue Dec 31, 2019 · 2 comments
Closed

vue-router doesn't route from root path #60

paul121 opened this issue Dec 31, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@paul121
Copy link
Member

paul121 commented Dec 31, 2019

Loading http://localhost/ leaves a blank white screen. I believe that the router just isn't redirecting the user to localhost/login - the login page can be loaded if navigated to it directly. Also, if navigating to localhost/dashboard (and the user is not logged in) the router performs a successful redirect to localhost/login

On the blank root path localhost/ the console displays the following error: SyntaxError: expected expression, got '<'

@paul121 paul121 added the bug Something isn't working label Dec 31, 2019
@paul121
Copy link
Member Author

paul121 commented Dec 31, 2019

Might be related to this: PolymerElements/app-storage#81

This doesn't happen when navigating to localhost:8080/ when developing with npm run serve, so seems like an issue with Webpack.

@paul121
Copy link
Member Author

paul121 commented Jan 2, 2020

I reset cookies in the browser and fixed the problem.

@paul121 paul121 closed this as completed Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant