<template>
    <div>test</div>
    <div>{{route}}</div>
</template>

<script setup>
import BELayout from '@/layouts/BELayout.vue'

//const props = defineProps(['route'])

defineOptions({
    layout: (h, page) => h(BELayout, {
        props: {
            route: route
        }
    }, [page]) 
})

</script>

<script>
import BELayout from '@/layouts/BELayout.vue'
import { h } from 'vue'

export default {
    props: {
        route: String
    }
}
</script>

