diff options
author | Simon Knox <psimyn@gmail.com> | 2019-03-14 19:19:13 +1100 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2019-03-22 09:24:10 +1100 |
commit | d7c92faacbaa4ad3aa53fc1de3c7c9d543624d97 (patch) | |
tree | 3298cf055f89908618d8691dd7cb23e457a66fc2 /doc/development/fe_guide/vue.md | |
parent | a59b7cee0afc152efba6aa4c430c14c0b038107a (diff) | |
download | gitlab-ce-d7c92faacbaa4ad3aa53fc1de3c7c9d543624d97.tar.gz |
Cleanup of fe_docs
Start moving back to regular fe_docs
Remove Initiatives, add section to index in fe_guide
Delete some no-longer-relevant parts from principles
Update title - Progressive Enchancement is a browser-support term
and could be confused
"When to use" parts are discussed elswhere
Vue & jQuery issue is no longer relevant
Delete duplicate Security docs
Remove empty files, move event_tracking
Shuffle index sections around
Remove sections on Vue & Webpack (we say same thing in prev paragraph)
Remove link to Droplab docs
Diffstat (limited to 'doc/development/fe_guide/vue.md')
-rw-r--r-- | doc/development/fe_guide/vue.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/development/fe_guide/vue.md b/doc/development/fe_guide/vue.md index 435fdf39fb4..a34d1fcec89 100644 --- a/doc/development/fe_guide/vue.md +++ b/doc/development/fe_guide/vue.md @@ -120,6 +120,13 @@ You can read more about components in Vue.js site, [Component System][component- #### Vuex Check this [page](vuex.md) for more details. +### Mixing Vue and jQuery + +- Mixing Vue and jQuery is not recommended. +- If you need to use a specific jQuery plugin in Vue, [create a wrapper around it][https://vuejs.org/v2/examples/select2.html]. +- It is acceptable for Vue to listen to existing jQuery events using jQuery event listeners. +- It is not recommended to add new jQuery events for Vue to interact with jQuery. + ## Style guide Please refer to the Vue section of our [style guide](style_guide_js.md#vuejs) |