mirror of
https://github.com/go-gitea/gitea
synced 2024-08-28 13:05:19 +02:00
- Replace all default exports with named exports, except for Vue SFCs - Remove names from Vue SFCs, they are automatically inferred from the filename - Misc whitespace-related tweaks
10 lines
309 B
JavaScript
10 lines
309 B
JavaScript
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);
|
|
}
|