
html-validator
Go to documentationAutomatically validate Nuxt server-rendered HTML html
@nuxtjs/html-validator
HTML validation using html-validate for NuxtJS
Features
- Zero-configuration required
- Helps reduce hydration errors
- Detects common accessibility mistakes
Quick setup
- Add
@nuxtjs/html-validator
dependency to your project
yarn add @nuxtjs/html-validator # or npm install @nuxtjs/html-validator
- Add
@nuxtjs/html-validator
to thebuildModules
section ofnuxt.config.js
{ buildModules: [ '@nuxtjs/html-validator', ],}
Development
- Clone this repository
- Install dependencies using
yarn install
- Start development server using
yarn dev