forked from gitea/gitea
1
0
Fork 0
gitea/web_src/js/features/repo-issue-pr-form.js

11 lines
313 B
JavaScript
Raw Normal View History

import {createApp} 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 = createApp(PullRequestMergeForm);
view.mount(el);
}