debian-mirror-gitlab/app/assets/javascripts/operation_settings/index.js

16 lines
365 B
JavaScript
Raw Normal View History

2019-07-31 22:56:46 +05:30
import Vue from 'vue';
2019-09-04 21:01:54 +05:30
import store from './store';
2019-07-31 22:56:46 +05:30
import ExternalDashboardForm from './components/external_dashboard.vue';
export default () => {
const el = document.querySelector('.js-operation-settings');
return new Vue({
el,
2019-09-04 21:01:54 +05:30
store: store(el.dataset),
2019-07-31 22:56:46 +05:30
render(createElement) {
2019-09-04 21:01:54 +05:30
return createElement(ExternalDashboardForm);
2019-07-31 22:56:46 +05:30
},
});
};