How to manipulate browser url in Inertia.js? #1163
Unanswered
Arturexe
asked this question in
Help (Vue)
Replies: 2 comments 4 replies
-
I used something like |
Beta Was this translation helpful? Give feedback.
2 replies
-
I had the same issue, and solved it like this: instead of using you need to update the router object in inertia like this:
then when inertia decide to do its nonsense things are still there |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been using an IntersectionObserver to update the url of my SPA while the user scrolls down the page like so:
but how do I do this in Inertia.js since it doesn't have the router.push method? I'm using Inertia with a Vue 3 frontend.
Beta Was this translation helpful? Give feedback.
All reactions