@nuxtjs/html-validator

html-validator integration for Nuxt.js

Usage no npm install needed!

<script type="module">
  import nuxtjsHtmlValidator from 'https://cdn.skypack.dev/@nuxtjs/html-validator';
</script>

README

@nuxtjs/html-validator

@nuxtjs/html-validator

npm version npm downloads Github Actions CI Codecov License

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 buildModules section of nuxt.config.js
{
  buildModules: [
    '@nuxtjs/html-validator',
  ],
}

Development

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

License

MIT License