Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/docsPublic

docs: clarify HTML validator warnings for Vue-specific directives#3264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
adityaranjan08 wants to merge1 commit intovuejs:main
base:main
Choose a base branch
Loading
fromadityaranjan08:vue-directive-html-tip

Conversation

@adityaranjan08
Copy link

What This Does

This adds a tip box to thetemplate-syntax.md guide explaining that Vue-specific attributes likev-if,@click, andv-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

Fixesvuejs/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!

docs: clarify HTML validator warnings for Vue-specific directives
@netlify
Copy link

netlifybot commentedJul 12, 2025
edited
Loading

Deploy Preview forvuejs ready!

NameLink
🔨 Latest commit75c274d
🔍 Latest deploy loghttps://app.netlify.com/projects/vuejs/deploys/6872aebf4bc43b0008eed09d
😎 Deploy Previewhttps://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 yourNetlify project configuration.

@@ -0,0 +1,3 @@
:::tip Vue-specific Attributes

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

suggestion:@adityaranjan08 it looks like you created a new template-syntax fine insrc/guide. Did you mean to make changes tosrc/essentials/template-guide.md?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

exxactly

@NataliaTepluhinaNataliaTepluhina added the state: stalePR hasn't updated for a long time labelSep 2, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@NataliaTepluhinaNataliaTepluhinaNataliaTepluhina left review comments

Assignees

No one assigned

Labels

state: stalePR hasn't updated for a long time

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Ambiguous component name error does not mention first character cannot be numeric.

2 participants

@adityaranjan08@NataliaTepluhina

[8]ページ先頭

©2009-2025 Movatter.jp