mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-31 22:58:59 +01:00
2cf0cf0de1
- 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);
|
|
}
|