mirror of https://github.com/go-gitea/gitea
11 lines
309 B
TypeScript
11 lines
309 B
TypeScript
import {createApp} from 'vue';
|
|
import PullRequestMergeForm from '../components/PullRequestMergeForm.vue';
|
|
|
|
export function initRepoPullRequestMergeForm() {
|
|
const el = document.querySelector('#pull-request-merge-form');
|
|
if (!el) return;
|
|
|
|
const view = createApp(PullRequestMergeForm);
|
|
view.mount(el);
|
|
}
|