Skip to content

Add negative example warning #1990

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2019
Merged

Add negative example warning #1990

merged 1 commit into from
Feb 18, 2019

Conversation

afontcu
Copy link
Member

@afontcu afontcu commented Feb 11, 2019

This closes #1986.

I suggest a simple HTML comment to warn readers about the negative example. I saw a similar usage in the Slots page.

However, the whole section could be rearranged differently, by providing a better context before showing the example. We could even use a tip.

Any thoughts?
Thanks!

@sdras
Copy link
Member

sdras commented Feb 18, 2019

Interesting, I wouldn't have thought this would be an issue, but I appreciate the reference to the issue and also an existing example. If it helps people grok things faster, I don't see the harm. Thanks!

@sdras sdras merged commit 972a7da into vuejs:master Feb 18, 2019
@afontcu afontcu deleted the patch-1 branch February 18, 2019 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Negative example of a Custom Event Name might cause confusion
2 participants