2022-10-01 22:26:38 +08:00
|
|
|
import {createApp} from 'vue';
|
2022-05-12 21:39:02 +08:00
|
|
|
import PullRequestMergeForm from '../components/PullRequestMergeForm.vue';
|
|
|
|
|
2022-12-24 00:03:11 +08:00
|
|
|
export function initRepoPullRequestMergeForm() {
|
2022-05-12 21:39:02 +08:00
|
|
|
const el = document.getElementById('pull-request-merge-form');
|
|
|
|
if (!el) return;
|
|
|
|
|
2022-10-01 22:26:38 +08:00
|
|
|
const view = createApp(PullRequestMergeForm);
|
|
|
|
view.mount(el);
|
2022-05-12 21:39:02 +08:00
|
|
|
}
|