Skip to content

Commit

Permalink
fix: Cannot read properties of undefined (reading 'routeName') #101
Browse files Browse the repository at this point in the history
  • Loading branch information
victorgarciaesgi committed Jul 5, 2023
1 parent a6870d6 commit 230c912
Show file tree
Hide file tree
Showing 10 changed files with 1,739 additions and 2,433 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"url": "https://github.com/victorgarciaesgi/nuxt-typed-router/issues"
},
"dependencies": {
"@nuxt/kit": "^3.5.1",
"chalk": "^5.2.0",
"@nuxt/kit": "^3.6.1",
"chalk": "^5.3.0",
"defu": "^6.1.2",
"lodash-es": "^4.17.21",
"log-symbols": "^5.1.0",
Expand All @@ -73,31 +73,31 @@
"devDependencies": {
"@nuxt/devtools": "^0.5.5",
"@nuxt/module-builder": "^0.3.1",
"@nuxt/test-utils": "^3.5.1",
"@nuxt/types": "^2.16.3",
"@nuxt/test-utils": "^3.6.1",
"@nuxt/types": "^2.17.0",
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"@nuxtjs/i18n": "8.0.0-beta.10",
"@nuxtjs/web-vitals": "^0.2.6",
"@types/lodash-es": "^4.17.7",
"@types/node": "^20.2.3",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"@vue/test-utils": "^2.3.2",
"@types/node": "^20.3.3",
"@types/prettier": "^2.7.3",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@vue/test-utils": "^2.4.0",
"bumpp": "9.1.0",
"changelogithub": "0.12.11",
"cross-env": "^7.0.3",
"eslint": "8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-vue": "^9.14.0",
"eslint-plugin-vue": "^9.15.1",
"nuxt": "3.5.1",
"nuxt-seo-kit": "1.3.8",
"playwright": "1.34.3",
"tsd": "^0.28.1",
"typescript": "^5.0.4",
"vitest": "^0.31.1",
"vue-eslint-parser": "^9.3.0",
"vue-router": "^4.2.1",
"vue-tsc": "^1.6.5"
"typescript": "^5.1.6",
"vitest": "^0.31.4",
"vue-eslint-parser": "^9.3.1",
"vue-router": "^4.2.2",
"vue-tsc": "^1.8.4"
}
}
3 changes: 2 additions & 1 deletion playground/src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

<nuxt-link to="/admin/:id?foo">Navigate Link</nuxt-link>

<nuxt-link :to="localePath('/admin/:id')">Navigate Link</nuxt-link>
<nuxt-link :to="{ name: '' }">Navigate Link</nuxt-link>
<nuxt-link :to="localePath({ name: '' })">Navigate Link</nuxt-link>
<nuxt-layout></nuxt-layout>
</div>
</template>
Expand Down
Empty file.
Loading

1 comment on commit 230c912

@vercel
Copy link

@vercel vercel bot commented on 230c912 Jul 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.