We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ed49f commit de2fa24Copy full SHA for de2fa24
packages/client/src/router/createVueRouter.ts
@@ -40,7 +40,8 @@ export const createVueRouter = (): Router => {
40
// and save page data to route meta
41
router.beforeResolve(async (to, from): Promise<string | void> => {
42
if (to.path !== from.path || from === START_LOCATION) {
43
- const fullPath = to.fullPath.split('#')[0]
+ console.log(to)
44
+ const fullPath = to.fullPath.split(/#|\?/)[0]
45
const route = resolveRoute(fullPath)
46
47
if (route.path !== fullPath) {
0 commit comments