summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commons/gitlab_ui.js
blob: 1411f7ffd5ed0f19e72dda965e4473352a3c1ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Vue from 'vue';
import {
  Pagination,
  ProgressBar,
  Modal,
  LoadingIcon,
  ModalDirective,
  TooltipDirective,
} from '@gitlab-org/gitlab-ui';

Vue.component('gl-pagination', Pagination);
Vue.component('gl-progress-bar', ProgressBar);
Vue.component('gl-ui-modal', Modal);
Vue.component('gl-loading-icon', LoadingIcon);

Vue.directive('gl-modal', ModalDirective);
Vue.directive('gl-tooltip', TooltipDirective);