Skip to content

Commit

Permalink
Merge pull request #5 from icefoganalytics/main
Browse files Browse the repository at this point in the history
Odd $route issue
  • Loading branch information
datajohnson authored Dec 18, 2024
2 parents 20fc275 + 9597c20 commit 286ec70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/web/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -23,6 +23,7 @@ declare module "@vue/runtime-core" {
interface ComponentCustomProperties {
$auth: Auth0Plugin;
$router: Router;
$route: RouteLocationNormalizedLoaded;
}
}

Expand Down

0 comments on commit 286ec70

Please sign in to comment.