We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d282fcd commit 2f8e991Copy full SHA for 2f8e991
packages/nuxt/src/app/components/nuxt-link.ts
@@ -265,7 +265,7 @@ export function defineNuxtLink (options: NuxtLinkOptions) {
265
}
266
267
// Resolves `to` value if it's a route location object
268
- // converts `'''` to `null` to prevent the attribute from being added as empty (`href=""`)
+ // converts `""` to `null` to prevent the attribute from being added as empty (`href=""`)
269
const href = typeof to.value === 'object' ? router.resolve(to.value)?.href ?? null : to.value || null
270
271
// Resolves `target` value
0 commit comments