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

Configure webpack-dev-server to serve index.html on all routes #2

Open
el-komandante opened this issue May 23, 2017 · 0 comments
Open

Comments

@el-komandante
Copy link
Contributor

With the current webpack config, the webpack dev server 404s if the user tries to access any route other than the base route (localhost:8080). Ideally, the user could navigate to a sub-route using the address bar - this requires the dev server to serve the index.html on all routes.

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

1 participant