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