summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2018-12-06 14:24:25 +1100
committerSimon Knox <psimyn@gmail.com>2018-12-06 14:24:25 +1100
commitf56a9b6e97f0814095ccdae4b0848220a9b60ca6 (patch)
treec99b54c057a02ef9f3c00a808498c2b6d6c91938
parent9ea161a9cf8a5847d0fdf87566240f097502b51c (diff)
downloadgitlab-ce-docs-fe-vue.tar.gz
Remove note on dom prop namesdocs-fe-vue
-rw-r--r--doc/development/new_fe_guide/style/vue.md15
1 files changed, 1 insertions, 14 deletions
diff --git a/doc/development/new_fe_guide/style/vue.md b/doc/development/new_fe_guide/style/vue.md
index 1dc76d1e476..3692048d225 100644
--- a/doc/development/new_fe_guide/style/vue.md
+++ b/doc/development/new_fe_guide/style/vue.md
@@ -13,7 +13,7 @@ In addition to the style guidelines set by Vue, we also have a few specific rule
- [1.2](#no-singleton) **Do not use singleton for service or store**.
<a name="init"></a><a name="1.3"></a>
-- [1.3](#init) **Initialize root Vue components** Use a function in the bundle file to instantiate Vue components
+- [1.3](#init) **Initialize root Vue components**. Use a function in the bundle file to instantiate Vue components
```
// bad
@@ -51,17 +51,4 @@ document.addEventListener('DOMContentLoaded', () => new Vue({
</style>
```
-## Attributes
-
-<a name="dom-prop"></a><a name="2.1"></a>
-- [2.1](#dom-prop) **Avoid DOM component prop names**
-
-```
-// bad
-<component title="prop" />
-
-// good
-<component my-prop="prop" />
-```
-
[plugin-recommended]: https://github.com/vuejs/eslint-plugin-vue#gear-configs