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

18 lines
344 B
JavaScript

import Vue from 'vue';
import FormUrlApp from './components/form_url_app.vue';
export default () => {
const el = document.querySelector('.js-vue-webhook-form');
if (!el) {
return null;
}
return new Vue({
el,
name: 'WebhookFormRoot',
render(createElement) {
return createElement(FormUrlApp, {});
},
});
};