Closed tyteen4a03 closed 4 years ago
The <Router />
used in BlogListPage.svelte
should not have path, as it is taken from the route where it was mounted.
Example: https://svelte.dev/repl/c778f2efafa44e2d8ab2556fbcb66518?version=3.20.1
Your current setup would work if you use a link like /blog/blog/1/2
— because you declared the same path twice.
I have this setup:
App.svelte:
BlogListPage.svelte
Can you provide an example of how to make this routing configuration work?