Skip to content

Commit 75c274d

Browse files
Create template-syntax.md
docs: clarify HTML validator warnings for Vue-specific directives
1 parent 328948b commit 75c274d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/guide/template-syntax.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:::tip Vue-specific Attributes
2+
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.
3+
:::

0 commit comments

Comments
 (0)