2019-05-07 14:47:09 +00:00
|
|
|
import Vue from 'vue';
|
2020-05-28 18:08:37 +00:00
|
|
|
import MetricsSettingsForm from './components/metrics_settings.vue';
|
2021-02-14 18:09:20 +00:00
|
|
|
import store from './store';
|
2019-05-07 14:47:09 +00:00
|
|
|
|
|
|
|
export default () => {
|
|
|
|
const el = document.querySelector('.js-operation-settings');
|
|
|
|
|
|
|
|
return new Vue({
|
|
|
|
el,
|
2019-06-04 17:55:52 +00:00
|
|
|
store: store(el.dataset),
|
2019-05-07 14:47:09 +00:00
|
|
|
render(createElement) {
|
2020-05-28 18:08:37 +00:00
|
|
|
return createElement(MetricsSettingsForm);
|
2019-05-07 14:47:09 +00:00
|
|
|
},
|
|
|
|
});
|
|
|
|
};
|