blob: 58c28e09f804ce38f6bcbaa67295b01c031ac6c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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);
},
});
};
|