2019-12-26 22:10:19 +05:30
|
|
|
import Vue from 'vue';
|
|
|
|
import GrafanaIntegration from './components/grafana_integration.vue';
|
2021-03-11 19:13:27 +05:30
|
|
|
import store from './store';
|
2019-12-26 22:10:19 +05:30
|
|
|
|
|
|
|
export default () => {
|
|
|
|
const el = document.querySelector('.js-grafana-integration');
|
|
|
|
return new Vue({
|
|
|
|
el,
|
|
|
|
store: store(el.dataset),
|
|
|
|
render(createElement) {
|
|
|
|
return createElement(GrafanaIntegration);
|
|
|
|
},
|
|
|
|
});
|
|
|
|
};
|