loading up the forgejo repo on tangled to test page performance
at forgejo 10 lines 306 B view raw
1import {createApp} from 'vue'; 2import DiffCommitSelector from '../components/DiffCommitSelector.vue'; 3 4export function initDiffCommitSelect() { 5 const el = document.getElementById('diff-commit-select'); 6 if (!el) return; 7 8 const commitSelect = createApp(DiffCommitSelector); 9 commitSelect.mount(el); 10}