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

13 lines
154 B
Vue
Raw Permalink Normal View History

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