code.gitea.io/gitea@v1.21.7/web_src/js/features/repo-issue-pr-form.js (about)

     1  import {createApp} from 'vue';
     2  import PullRequestMergeForm from '../components/PullRequestMergeForm.vue';
     3  
     4  export function initRepoPullRequestMergeForm() {
     5    const el = document.getElementById('pull-request-merge-form');
     6    if (!el) return;
     7  
     8    const view = createApp(PullRequestMergeForm);
     9    view.mount(el);
    10  }