This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/web_src/js/features/repo-issue-pr-form.js
2022-10-01 22:26:38 +08:00

10 lines
313 B
JavaScript

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