0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-18 20:12:34 -05:00
forgejo/web_src/js/features/repo-diff-filetree.js

11 lines
280 B
JavaScript
Raw Normal View History

import {createApp} from 'vue';
import DiffFileTree from '../components/DiffFileTree.vue';
export function initDiffFileTree() {
const el = document.getElementById('diff-file-tree');
if (!el) return;
const fileTreeView = createApp(DiffFileTree);
fileTreeView.mount(el);
}