docs icon indicating copy to clipboard operation
docs copied to clipboard

docs: clarify HTML validator warnings for Vue-specific directives

Open adityaranjan08 opened this issue 5 months ago • 1 comments

What This Does

This adds a tip box to the template-syntax.md guide explaining that Vue-specific attributes like v-if, @click, and v-bind may appear as invalid in HTML validators or IDEs. These are Vue template directives and are expected to be handled by Vue's compiler.

Why

Fixes vuejs/vue#4428, which notes that new users may find these attributes invalid when writing Vue templates. This update clarifies that this is expected behavior and not a bug.

Thanks!

adityaranjan08 avatar Jul 12 '25 18:07 adityaranjan08

Deploy Preview for vuejs ready!

Name Link
Latest commit 75c274de3d8682b848f972a9d8fc645be3df0fd3
Latest deploy log https://app.netlify.com/projects/vuejs/deploys/6872aebf4bc43b0008eed09d
Deploy Preview https://deploy-preview-3264--vuejs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Jul 12 '25 18:07 netlify[bot]