gitlab-org--gitlab-foss/app/assets/javascripts/operation_settings/index.js

16 lines
359 B
JavaScript
Raw Normal View History

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