2019-10-29 20:07:52 -04:00
|
|
|
import Vue from 'vue';
|
|
|
|
import GrafanaIntegration from './components/grafana_integration.vue';
|
2021-02-14 13:09:20 -05:00
|
|
|
import store from './store';
|
2019-10-29 20:07:52 -04:00
|
|
|
|
|
|
|
export default () => {
|
|
|
|
const el = document.querySelector('.js-grafana-integration');
|
|
|
|
return new Vue({
|
|
|
|
el,
|
|
|
|
store: store(el.dataset),
|
|
|
|
render(createElement) {
|
|
|
|
return createElement(GrafanaIntegration);
|
|
|
|
},
|
|
|
|
});
|
|
|
|
};
|