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

cargo web start for single page applications #240

Open
drdozer opened this issue Feb 23, 2020 · 0 comments
Open

cargo web start for single page applications #240

drdozer opened this issue Feb 23, 2020 · 0 comments

Comments

@drdozer
Copy link

drdozer commented Feb 23, 2020

I'm developing a single page application with yew and yew-rourter. The app is loaded in at / but then manages the URL e.g. /login to hop around the spa. If cargo-web rebuilds and reloads the app, it then gets a 404 on these managed URLs. Is it possible to put cargo-web into single page mode, so that if on restart it fetches the url /login it serves up the content at /?

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