mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 08:47:42 -05:00
13 lines
366 B
JavaScript
13 lines
366 B
JavaScript
|
import Vue from 'vue';
|
||
|
import PullRequestMergeForm from '../components/PullRequestMergeForm.vue';
|
||
|
|
||
|
export default function initPullRequestMergeForm() {
|
||
|
const el = document.getElementById('pull-request-merge-form');
|
||
|
if (!el) return;
|
||
|
|
||
|
const View = Vue.extend({
|
||
|
render: (createElement) => createElement(PullRequestMergeForm),
|
||
|
});
|
||
|
new View().$mount(el);
|
||
|
}
|