svelte-routing
svelte-routing copied to clipboard
Request: Access to current URL from the Router component slot
Hello,
I noticed in this other issue that we are able to access the current URL location in the Route slot: https://github.com/EmilTholin/svelte-routing/issues/62
It would be nice if we can access it from the Router slot as well.
That's already possible.
<Route path="{path}" let:location>
<Component location={location} />
</Route>