svelte-navigator
svelte-navigator copied to clipboard
FR: Add option to specify multiple paths for one route
Is your feature request related to a problem? Please describe.
Hi, I have an app where several routes render the same component(s) - for example the route /
should render the same content as the route /products
. Currently, I need to have two duplicate <Route>
components to do that
Describe the solution you'd like
Having the option to pass multiple paths to one route - e.g. <Route path="/,/products">
This could also help with rendering a menu/navigation/... that is shared for some, but not all routes.