Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5a37e360
Commit
5a37e360
authored
Nov 07, 2019
by
Tom Quirk
Committed by
Fatih Acet
Nov 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Rename <ApolloMutation> component to <apollo-mutation>"
parent
8953e5c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
doc/development/fe_guide/style_guide_js.md
doc/development/fe_guide/style_guide_js.md
+12
-0
No files found.
doc/development/fe_guide/style_guide_js.md
View file @
5a37e360
...
...
@@ -581,6 +581,18 @@ Please check this [rules][eslint-plugin-vue-rules] for more documentation.
<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
1. Tag order in `.vue` file
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment