Install Nuxt Link Checker
Setup Module
npx nuxt module add link-checkernpm i nuxt-link-checkerYou will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'nuxt-link-checker',
],
})
yarn add nuxt-link-checkerYou will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'nuxt-link-checker',
],
})
pnpm i nuxt-link-checkerYou will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'nuxt-link-checker',
],
})
bun i nuxt-link-checkerYou will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'nuxt-link-checker',
],
})
npx skilld add nuxt-link-checker
Verifying Installation
Nuxt Link Checker provides a visual integration in development through the Link Checker DevTools tab. Open up DevTools in your Nuxt site and navigate to the Link Checker tab
to see live inspections of your links. See the Link Checker DevTools guide for more information.
When building your site, the module will check links of all prerendered pages. It's recommended to prerender any pages that you'd like to have the links checked on.
Next Steps
You've successfully installed Nuxt Link Checker and configured it for your site.
- Check the default Inspection Rules
- Use Nuxt Sitemap so link checking can discover all your page URLs automatically
- Learn more about how Controlling Crawlers interact with your site