From 75c274de3d8682b848f972a9d8fc645be3df0fd3 Mon Sep 17 00:00:00 2001 From: Aditya Ranjan Date: Sun, 13 Jul 2025 00:20:40 +0530 Subject: [PATCH] Create template-syntax.md docs: clarify HTML validator warnings for Vue-specific directives --- src/guide/template-syntax.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/guide/template-syntax.md diff --git a/src/guide/template-syntax.md b/src/guide/template-syntax.md new file mode 100644 index 0000000000..1cadf87c0e --- /dev/null +++ b/src/guide/template-syntax.md @@ -0,0 +1,3 @@ +:::tip Vue-specific Attributes +You might see HTML validators or IDEs warn that attributes like `v-if`, `@click`, or `v-bind` are invalid. These are Vue-specific directives that are processed by Vue’s template compiler and are not standard HTML attributes. This is expected and safe to ignore in Vue templates. +:::