The official Nuxt Certification Program in partnership with VueSchool is coming.

html-validator
html-validator

Automatically validate Nuxt server-rendered HTML html

@nuxtjs/html-validator

@nuxtjs/html-validator

npm versionnpm downloadsGithub Actions CICodecovLicense

HTML validation using html-validate for NuxtJS

Features

  • Zero-configuration required
  • Helps reduce hydration errors
  • Detects common accessibility mistakes

📖  Read more

Quick setup

  1. Add @nuxtjs/html-validator as a dev dependency to your project
npx nuxi@latest module add html-validator
  1. Add @nuxtjs/html-validator to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@nuxtjs/html-validator'],
})

Development

  1. Clone this repository
  2. Install dependencies using yarn install
  3. Start development server using yarn dev

License

MIT License