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

18 lines
422 B
JavaScript
Raw Normal View History

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