Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « grafana_integration « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a93edab4388c3cb3d78b1cc8451e4582951b1cb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Vue from 'vue';
import store from './store';
import GrafanaIntegration from './components/grafana_integration.vue';

export default () => {
  const el = document.querySelector('.js-grafana-integration');
  return new Vue({
    el,
    store: store(el.dataset),
    render(createElement) {
      return createElement(GrafanaIntegration);
    },
  });
};