Skip to content

Commit

Permalink
Update 4-cli-components/3-vue-components.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Harrison authored Feb 24, 2021
1 parent c9b5b5a commit a81ef6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 4-cli-components/3-vue-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default {
As highlighted earlier, single-file components are saved with a *.vue* extension. You can load these in a similar fashion to other modules by using the `import` statement, and register them by using the `components` property. Once registered they become available for use as a tag inside of `template`.

> ![NOTE]
> When importing a library with `import`, it's standard to use PascalCase (or upper camel case) for the name, where the first letter for each word is capitalized, like so `PascalCase`. However, in HTML, the convention is for tag names to use kebab-case with each word in lowercase letters and a dash (`-`) between them. Vue will automatically manage the two different conventions.
> When importing a library with `import`, it's standard to use PascalCase (or upper camel case) for the name, where the first letter for each word is capitalized, like `PascalCase`. However, in HTML, the convention is for tag names to use kebab-case with each word in lowercase letters and a dash (`-`) between them. Vue will automatically manage the two different conventions.
```html
<template>
Expand Down

0 comments on commit a81ef6b

Please sign in to comment.