From 9597c20573034c2cccb736d70d0e5feb0ba21f09 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Wed, 18 Dec 2024 08:54:44 -0700 Subject: [PATCH] Odd $route issue --- src/web/src/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/src/main.ts b/src/web/src/main.ts index 60da698..60c00ef 100644 --- a/src/web/src/main.ts +++ b/src/web/src/main.ts @@ -6,7 +6,7 @@ import { AuthHelper } from "@/plugins/auth"; // Plugins import { registerPlugins } from "./plugins"; import { Auth0Plugin } from "@auth0/auth0-vue"; -import { Router } from "vue-router"; +import { RouteLocationNormalizedLoaded, Router } from "vue-router"; const pinia = createPinia(); @@ -23,6 +23,7 @@ declare module "@vue/runtime-core" { interface ComponentCustomProperties { $auth: Auth0Plugin; $router: Router; + $route: RouteLocationNormalizedLoaded; } }