Updated componentLoader and vite to load any folder depth

This commit is contained in:
Samuel Andert
2023-07-24 09:39:33 +02:00
parent f75268a1d1
commit a572099312
6 changed files with 36 additions and 14 deletions

View File

@ -1,6 +1,6 @@
<script lang="ts">
import Composite from './Composite.svelte'; // Recursive import
import components from '$lib/components.ts';
import components from '$lib/componentLoader';
import { getContextStore } from '$lib/stores/contextStore.ts';
export let componentsData = {