summaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-issue-pr-form.js
blob: 7b26e643c04af0cad056dae28fbcf98a8e7d0be0 (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.getElementById('pull-request-merge-form');
  if (!el) return;

  const view = createApp(PullRequestMergeForm);
  view.mount(el);
}