diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-08 09:10:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-08 09:10:46 +0300 |
commit | 1758f49bb51884245d53fc6675f180cb522a4623 (patch) | |
tree | 106fa0dffb0e1a39dee148d1c0b2016392a8654c /app/assets/javascripts/work_items | |
parent | 10646673020797d5194d39188b135a3a6f19b860 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/work_items')
-rw-r--r-- | app/assets/javascripts/work_items/components/app.vue | 9 | ||||
-rw-r--r-- | app/assets/javascripts/work_items/graphql/typedefs.graphql | 0 | ||||
-rw-r--r-- | app/assets/javascripts/work_items/index.js | 13 |
3 files changed, 22 insertions, 0 deletions
diff --git a/app/assets/javascripts/work_items/components/app.vue b/app/assets/javascripts/work_items/components/app.vue new file mode 100644 index 00000000000..93de17d1e43 --- /dev/null +++ b/app/assets/javascripts/work_items/components/app.vue @@ -0,0 +1,9 @@ +<script> +export default { + name: 'WorkItemRoot', +}; +</script> + +<template> + <div></div> +</template> diff --git a/app/assets/javascripts/work_items/graphql/typedefs.graphql b/app/assets/javascripts/work_items/graphql/typedefs.graphql new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/app/assets/javascripts/work_items/graphql/typedefs.graphql diff --git a/app/assets/javascripts/work_items/index.js b/app/assets/javascripts/work_items/index.js new file mode 100644 index 00000000000..a635d43776d --- /dev/null +++ b/app/assets/javascripts/work_items/index.js @@ -0,0 +1,13 @@ +import Vue from 'vue'; +import App from './components/app.vue'; + +export const initWorkItemsRoot = () => { + const el = document.querySelector('#js-work-items'); + + return new Vue({ + el, + render(createElement) { + return createElement(App); + }, + }); +}; |