init commit
This commit is contained in:
commit
c9d982669a
461 changed files with 30317 additions and 0 deletions
16
resources/js/layouts/AppLayout.svelte
Normal file
16
resources/js/layouts/AppLayout.svelte
Normal file
|
@ -0,0 +1,16 @@
|
|||
<script lang="ts">
|
||||
import AppLayout from '@/layouts/app/AppSidebarLayout.svelte';
|
||||
import type { BreadcrumbItemType } from '@/types';
|
||||
import type { Snippet } from 'svelte';
|
||||
|
||||
interface Props {
|
||||
breadcrumbs?: BreadcrumbItemType[];
|
||||
children?: Snippet;
|
||||
}
|
||||
|
||||
let { breadcrumbs = [], children }: Props = $props();
|
||||
</script>
|
||||
|
||||
<AppLayout {breadcrumbs}>
|
||||
{@render children?.()}
|
||||
</AppLayout>
|
Loading…
Add table
Add a link
Reference in a new issue