debian-mirror-gitlab/app/assets/javascripts/maintenance_mode_settings/index.js
2020-04-22 19:07:51 +05:30

20 lines
442 B
JavaScript

import Vue from 'vue';
import Translate from '~/vue_shared/translate';
import MaintenanceModeSettingsApp from './components/app.vue';
Vue.use(Translate);
export default () => {
const el = document.getElementById('js-maintenance-mode-settings');
return new Vue({
el,
components: {
MaintenanceModeSettingsApp,
},
render(createElement) {
return createElement('maintenance-mode-settings-app');
},
});
};