Nuxt/test/fixtures/basic/layouts/with-props.vue

13 lines
154 B
Vue

<template>
<div>
<p>{{ someProp }}</p>
<slot />
</div>
</template>
<script lang="ts" setup>
defineProps<{
someProp: string;
}>()
</script>