html-validator

html-validator

Go to documentation

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 dependency to your project
yarn add @nuxtjs/html-validator # or npm install @nuxtjs/html-validator
  1. Add @nuxtjs/html-validator to the modules section of nuxt.config.ts
export default defineNuxtConfig({  })

Development

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

License

MIT License