15 lines
359 B
JavaScript
15 lines
359 B
JavaScript
import Vue from 'vue';
|
|
import store from './store';
|
|
import MetricsSettingsForm from './components/metrics_settings.vue';
|
|
|
|
export default () => {
|
|
const el = document.querySelector('.js-operation-settings');
|
|
|
|
return new Vue({
|
|
el,
|
|
store: store(el.dataset),
|
|
render(createElement) {
|
|
return createElement(MetricsSettingsForm);
|
|
},
|
|
});
|
|
};
|