|
| 1 | +# @nuxtjs/html-validator |
| 2 | + |
| 3 | +[![npm version][npm-version-src]][npm-version-href] |
| 4 | +[![npm downloads][npm-downloads-src]][npm-downloads-href] |
| 5 | +[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href] |
| 6 | +[![Codecov][codecov-src]][codecov-href] |
| 7 | +[![License][license-src]][license-href] |
| 8 | + |
| 9 | +> HTML validation using [html-validate](https://html-validate.org/) for [NuxtJS](https://nuxtjs.org) |
| 10 | +
|
| 11 | +- [✨ Release Notes](https://html-validator.nuxtjs.org/releases) |
| 12 | +- [📖 Documentation](https://html-validator.nuxtjs.org) |
| 13 | + |
| 14 | +## Features |
| 15 | + |
| 16 | +- Zero-configuration required |
| 17 | +- Helps reduce hydration errors |
| 18 | +- Detects common accessibility mistakes |
| 19 | + |
| 20 | +[📖 Read more](https://html-validator.nuxtjs.org) |
| 21 | + |
| 22 | +## Quick setup |
| 23 | + |
| 24 | +1. Add `@nuxtjs/html-validator` dependency to your project |
| 25 | + |
| 26 | +```bash |
| 27 | +yarn add @nuxtjs/html-validator # or npm install @nuxtjs/html-validator |
| 28 | +``` |
| 29 | + |
| 30 | +2. Add `@nuxtjs/html-validator` to the `modules` section of `nuxt.config.js` |
| 31 | + |
| 32 | +```js |
| 33 | +{ |
| 34 | + buildModules: [ |
| 35 | + '@nuxtjs/html-validator', |
| 36 | + ], |
| 37 | +} |
| 38 | +``` |
| 39 | + |
| 40 | +## Development |
| 41 | + |
| 42 | +1. Clone this repository |
| 43 | +2. Install dependencies using `yarn install` |
| 44 | +3. Start development server using `yarn dev` |
| 45 | + |
| 46 | +## License |
| 47 | + |
| 48 | +[MIT License](./LICENSE) |
| 49 | + |
| 50 | +<!-- Badges --> |
| 51 | +[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/html-validator/latest.svg |
| 52 | +[npm-version-href]: https://npmjs.com/package/@nuxtjs/html-validator |
| 53 | + |
| 54 | +[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/html-validator.svg |
| 55 | +[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/html-validator |
| 56 | + |
| 57 | +[github-actions-ci-src]: https://github.com/nuxt-community/html-validator-module/workflows/ci/badge.svg |
| 58 | +[github-actions-ci-href]: https://github.com/nuxt-community/html-validator-module/actions?query=workflow%3Aci |
| 59 | + |
| 60 | +[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-community/html-validator-module.svg |
| 61 | +[codecov-href]: https://codecov.io/gh/nuxt-community/html-validator-module |
| 62 | + |
| 63 | +[license-src]: https://img.shields.io/npm/l/@nuxtjs/html-validator.svg |
| 64 | +[license-href]: https://npmjs.com/package/@nuxtjs/html-validator |
0 commit comments