gitlab-org--gitlab-foss/app/assets/javascripts/grafana_integration/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
360 B
JavaScript
Raw Normal View History

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