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