debian-mirror-gitlab/app/assets/javascripts/issue_show/index.js
2019-12-21 20:55:43 +05:30

17 lines
422 B
JavaScript

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