Skip to content

Commit 2686b2e

Browse files
authored
docs: add note about usePrettier and tailwindcss
see #11
1 parent e0dad18 commit 2686b2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/content/en/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ This module configures [`html-validate`](https://html-validate.org/) to automati
7272
`@nuxtjs/html-validator` takes two options.
7373

7474
- `usePrettier` enables prettier printing of your source code to show errors in-context.
75+
76+
<alert>Consider not enabling this if you are using TailwindCSS, as prettier will struggle to cope with parsing the size of your HTML in development mode.</alert>
77+
7578
- `options` allows you to pass in `html-validate` options that will be merged with the default configuration
7679

7780
<alert type="info">You can find more about configuring `html-validate` [here](https://html-validate.org/rules/index.html).</alert>

0 commit comments

Comments
 (0)