aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-issue-pr-form.ts
blob: 94a28573409b1876a8f01a863d0761e8fdd6fec9 (plain)
1
2
3
4
5
6
7
8
9
10
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);
}