html-validator

html-validator
Automatically 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
as a dev dependency to your project
npx nuxi@latest module add html-validator
- Add
@nuxtjs/html-validator
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: ['@nuxtjs/html-validator'],
})
Development
- Clone this repository
- Install dependencies using
yarn install
- Start development server using
yarn dev