You've already forked obsidian-visualiser
Add deletion of files, add slots to tree and a global icon by type. Project update needs rework.
This commit is contained in:
@@ -31,12 +31,8 @@
|
||||
<script setup lang="ts">
|
||||
import { parseURL } from 'ufo';
|
||||
import { Icon } from '@iconify/vue/dist/iconify.js';
|
||||
import { iconByType } from '#shared/general.utils';
|
||||
|
||||
const iconByType: Record<string, string> = {
|
||||
'folder': 'lucide:folder',
|
||||
'canvas': 'ph:graph-light',
|
||||
'file': 'radix-icons:file',
|
||||
}
|
||||
const { href } = defineProps<{
|
||||
href: string
|
||||
class?: string
|
||||
|
||||
Reference in New Issue
Block a user