mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-26 14:16:10 +00:00
11 lines
212 B
Vue
11 lines
212 B
Vue
|
<script setup lang="ts">
|
||
|
const props = defineProps<{ foo: string }>()
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div>
|
||
|
<div>client only script setup component {{ props.foo }}</div>
|
||
|
<slot name="test" />
|
||
|
</div>
|
||
|
</template>
|