Initialer Laravel Commit für BetiX
This commit is contained in:
12
resources/js/components/AppShell.vue
Normal file
12
resources/js/components/AppShell.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
const { variant = 'default' } = defineProps<{ variant?: 'default' | 'sidebar'; class?: string }>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div :class="[
|
||||
'min-h-screen w-full',
|
||||
variant === 'sidebar' ? 'flex' : 'flex flex-col',
|
||||
]">
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user