diff --git a/playground/src/pages/[name].vue b/playground/src/pages/[name].vue index bce5e284f..2cf04800d 100644 --- a/playground/src/pages/[name].vue +++ b/playground/src/pages/[name].vue @@ -1,32 +1,43 @@ @@ -111,6 +122,11 @@ definePage({

{{ thing }}

Loading user...

{{ user }}
+ +

one:

+
{{ one }}
+

two

+
{{ two }}
diff --git a/playground/vite.config.ts b/playground/vite.config.ts index 5726fee3d..7a4ea23e1 100644 --- a/playground/vite.config.ts +++ b/playground/vite.config.ts @@ -124,6 +124,9 @@ export default defineConfig({ resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)), + 'unplugin-vue-router/runtime': fileURLToPath( + new URL('../src/runtime.ts', import.meta.url) + ), }, }, })