Skip to content
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

docs: more specific mention of where PascalCase naming is allowed, in components/registration.md file. #3103

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rmpasswd
Copy link

@rmpasswd rmpasswd commented Nov 10, 2024

a component registered as MyComponent can be referenced in the template via both <MyComponent> and <my-component>.

While learning about Vue components and navigating the PascalCase and kebab-case support between html and vue, I came across this line in the docs. IMO it is not initially clear what is meant here without having to write some components first and get idea.

Proposed Solution

Making it slightly more verbose to specify exactly where PascalCase components are allowed.

a component registered as MyComponent can be referenced inside a Vue template (or inside an HTML element rendered by Vue) via both <MyComponent> and <my-component>.

Copy link

netlify bot commented Nov 10, 2024

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit a6dc3b1
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/67308d42288e590008b51e42
😎 Deploy Preview https://deploy-preview-3103--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 site configuration.

@rmpasswd rmpasswd changed the title edited src/guide/components/registration.md file. More verbose for ne… docs: more specific mention of where PascalCase naming is allowed, in components/registration.md file. Nov 10, 2024
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.

1 participant