Skip to content

vue-doctor/nuxt/nuxt-no-a-element ​

Use <NuxtLink> — enables client-side navigation and prefetching

PropertyValue
CategoryNuxt
Default Severitywarning
Confidencehigh
FixableNo
Engineoxlint
Sincev1.0.0
Frameworksnuxt
Test filesNot checked (which files)

Why it matters ​

Use <NuxtLink> — enables client-side navigation and prefetching

How to fix ​

Review the finding and update the code according to best practices below.

Agent Guidance ​

Replace internal <a href> links with <NuxtLink to="...">; keep plain <a> only for external URLs.


Rule source: vue-doctor/nuxt/nuxt-no-a-element

Released under the MIT License.