0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 09:44:41 +01:00
gitea/web_src/js/features/repo-issue-pr-form.js

11 lines
309 B
JavaScript
Raw Normal View History

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);
}