Install Nuxt Link Checker
Module Setup
npx nuxi module add link-checker
npm i nuxt-link-checker
You will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'nuxt-link-checker',
],
})
yarn add nuxt-link-checker
You will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'nuxt-link-checker',
],
})
pnpm i nuxt-link-checker
You will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'nuxt-link-checker',
],
})
bun i nuxt-link-checker
You will need to manually add the module to your Nuxt config.
export default defineNuxtConfig({
modules: [
'nuxt-link-checker',
],
})
Checking Links
Nuxt Link Checker provides a visualize integration in development through the Link Checker DevTools tab. Open up DevTools in your Nuxt site and navigate to the
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 which Inspection Rules are enabled by default
- Use Nuxt Sitemap so that your page links are automatically discovered.
- Learn more about how Web Crawlers interact with your site.