fucking props!

This commit is contained in:
Sockenklaus
2023-07-02 19:56:51 +02:00
parent bc38291696
commit bf92a1ed9a
6 changed files with 47 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
<template>
<LoginLayout>
<MainNav />
<slot></slot>
<MainNav :route="props.route" />
<slot />
</LoginLayout>
</template>
@@ -9,4 +9,8 @@
<script setup>
import LoginLayout from '@/layouts/LoginLayout'
import MainNav from '@/components/MainNav'
const props = defineProps({
route: String
})
</script>