diff --git a/__tests__/mount.ts b/__tests__/mount.ts index 0fbbce14d..fa8888d4a 100644 --- a/__tests__/mount.ts +++ b/__tests__/mount.ts @@ -4,7 +4,7 @@ import { routeLocationKey, routerViewLocationKey, } from '../src/injectionSymbols' -import { RouteLocationNormalized } from 'src' +import { RouteLocationNormalized } from '../src' export function createMockedRoute( initialValue: RouteLocationNormalizedLoose | RouteLocationNormalized diff --git a/playground/router.ts b/playground/router.ts index 6a9ccadf3..fa13a1b0b 100644 --- a/playground/router.ts +++ b/playground/router.ts @@ -176,6 +176,8 @@ export const router = createRouter({ }, }) +// TODO: move to pnpm, workspaces, and use an alias 'vue-router' to be closer to a real project + declare module '../src' { export interface Config { Router: typeof router