Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ Ideally, extract utilities into separate files so they can be unit tested. 🙏

### Internal linking

Always use **object syntax with named routes** for internal navigation. This makes links resilient to URL structure changes and provides type safety via `unplugin-vue-router`.
Always use **object syntax with named routes** for internal navigation. This makes links resilient to URL structure changes and provides type safety with the [typedPages Nuxt option](https://nuxt.com/docs/4.x/guide/going-further/experimental-features#typedpages).

```vue
<!-- Good: named route -->
Expand Down
2 changes: 0 additions & 2 deletions knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ const config: KnipConfig = {
ignoreDependencies: [
'@iconify-json/*',
'puppeteer',
/** Needs to be explicitly installed, even though it is not imported, to avoid type errors. */
'unplugin-vue-router',
'vite-plugin-pwa',
'@vueuse/shared',

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"ipaddr.js": "2.3.0",
"marked": "17.0.4",
"module-replacements": "2.11.0",
"nuxt": "4.3.1",
"nuxt": "4.4.2",
"nuxt-og-image": "5.1.13",
"ofetch": "1.5.1",
"ohash": "2.0.11",
Expand All @@ -102,7 +102,6 @@
"tinyglobby": "0.2.15",
"ufo": "1.6.3",
"unocss": "66.6.7",
"unplugin-vue-router": "0.19.2",
"valibot": "1.3.0",
"validate-npm-package-name": "7.0.2",
"virtua": "0.48.8",
Expand Down
Loading
Loading