- Current route: {{ route.path }}
+ Current route: {{ $route.path }}
diff --git a/packages/storybook-nuxt/playground/package.json b/packages/storybook-nuxt/playground/package.json
index 00a1a0e..c38d8b8 100644
--- a/packages/storybook-nuxt/playground/package.json
+++ b/packages/storybook-nuxt/playground/package.json
@@ -12,7 +12,7 @@
},
"devDependencies": {
"@invictus.codes/nuxt-vuetify": "^0.3.0",
- "@nuxt/devtools": "^0.7.0",
+ "@nuxt/devtools": "latest",
"@nuxt/image": "rc",
"@nuxt/ui-templates": "^1.3.1",
"@nuxtjs/color-mode": "^3.3.0",
@@ -28,7 +28,8 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "7.4.4",
- "typescript": "^5.1.0"
+ "typescript": "^5.1.0",
+ "vue-router": "4.2.5"
},
"pnpm": {
"overrides": {
diff --git a/packages/storybook-nuxt/src/preset.ts b/packages/storybook-nuxt/src/preset.ts
index c01ddd2..cb8eeee 100644
--- a/packages/storybook-nuxt/src/preset.ts
+++ b/packages/storybook-nuxt/src/preset.ts
@@ -51,8 +51,11 @@ async function defineNuxtConfig(baseConfig: Record