debian-mirror-gitlab/app/assets/javascripts/import/details/index.js
2023-06-20 00:43:36 +05:30

18 lines
358 B
JavaScript

import Vue from 'vue';
import ImportDetailsApp from './components/import_details_app.vue';
export default () => {
const el = document.querySelector('.js-import-details');
if (!el) {
return null;
}
return new Vue({
el,
name: 'ImportDetailsRoot',
render(createElement) {
return createElement(ImportDetailsApp);
},
});
};