debian-mirror-gitlab/app/assets/javascripts/issue_show/issue.js
2020-11-24 15:15:51 +05:30

16 lines
370 B
JavaScript

import Vue from 'vue';
import issuableApp from './components/app.vue';
export default function initIssuableApp(issuableData) {
return new Vue({
el: document.getElementById('js-issuable-app'),
components: {
issuableApp,
},
render(createElement) {
return createElement('issuable-app', {
props: issuableData,
});
},
});
}