Commit 68fc532a authored by Fatih Acet's avatar Fatih Acet

Merge branch '35719-rename-apollomutation-component-to-apollo-mutation' into 'master'

Resolve "Rename <ApolloMutation> component to <apollo-mutation>"

See merge request gitlab-org/gitlab!19728
parents 8953e5c0 5a37e360
...@@ -581,6 +581,18 @@ Please check this [rules][eslint-plugin-vue-rules] for more documentation. ...@@ -581,6 +581,18 @@ Please check this [rules][eslint-plugin-vue-rules] for more documentation.
<component /> <component />
``` ```
#### Component usage within templates
1. Prefer a component's kebab-cased name over other styles when using it in a template
```javascript
// bad
<MyComponent />
// good
<my-component />
```
#### Ordering #### Ordering
1. Tag order in `.vue` file 1. Tag order in `.vue` file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment