-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Describe the Bug:
Recently I tried to create a simple web application with svelte (and especially with this webpack template)
But when I added svelte-navigator
and used history API, this problem happened to me:
Cannot GET /XYZ
Reproduction:
First clone and install dependencies:
git clone https://github.com/alishi973/webpack-svelte-devserver-routing
cd webpack-svelte-devserver-routing
yarn // or npm install
then open Login Page and use the Go to register
Link (or you can manually type /register)
and finally, refresh the page and the problem accured.
Expected Behavior:
Open register page normally!
this is annoying during development to go on the primary route and then try to reach some page after a hard refresh
Metadata
Metadata
Assignees
Labels
No labels