You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
When using goto method from '@sapper/app' on relative paths, i.e. starting with ./, navigation is made relative to root.
I expect it to work as href in case when route is inside sapper application.
Now for every page that has relative navigation I have to implement prefetch and manualy store current path in component variable or reach for window.location.pathname.
I am using SSR mode and didn't test behavior in other cases.
The text was updated successfully, but these errors were encountered:
When using
goto
method from'@sapper/app'
on relative paths, i.e. starting with./
, navigation is made relative to root.I expect it to work as href in case when route is inside sapper application.
Now for every page that has relative navigation I have to implement
prefetch
and manualy store current path in component variable or reach forwindow.location.pathname
.I am using SSR mode and didn't test behavior in other cases.
The text was updated successfully, but these errors were encountered: