From 153e39ef29e6cafe3b04b26d5793cdccba887f75 Mon Sep 17 00:00:00 2001 From: Klaasjan te Voortwis Date: Sun, 28 Sep 2025 23:06:33 +0200 Subject: [PATCH 1/2] Update deep-links.md - Vue push with query params When using the push({ path:slug }) any query params on the url (slug) will be lost. When just pushing the slug as a string the router will also parse the query-params. Ran into this on a redirect from keycloak. --- versioned_docs/version-v7/main/guides/deep-links.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/versioned_docs/version-v7/main/guides/deep-links.md b/versioned_docs/version-v7/main/guides/deep-links.md index f0a349367..807403217 100644 --- a/versioned_docs/version-v7/main/guides/deep-links.md +++ b/versioned_docs/version-v7/main/guides/deep-links.md @@ -182,9 +182,7 @@ App.addListener('appUrlOpen', function (event: URLOpenListenerEvent) { // We only push to the route if there is a slug present if (slug) { - router.push({ - path: slug, - }); + router.push({slug); } }); ``` From e2566a52968ca469a3be95837ae0b5edb2756e96 Mon Sep 17 00:00:00 2001 From: Klaasjan te Voortwis Date: Sun, 28 Sep 2025 23:14:12 +0200 Subject: [PATCH 2/2] Update deep-links.md - typo Fixed the correct router.push(slug). example for vue --- versioned_docs/version-v7/main/guides/deep-links.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-v7/main/guides/deep-links.md b/versioned_docs/version-v7/main/guides/deep-links.md index 807403217..c4c4f054b 100644 --- a/versioned_docs/version-v7/main/guides/deep-links.md +++ b/versioned_docs/version-v7/main/guides/deep-links.md @@ -182,7 +182,7 @@ App.addListener('appUrlOpen', function (event: URLOpenListenerEvent) { // We only push to the route if there is a slug present if (slug) { - router.push({slug); + router.push(slug); } }); ```