mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +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>
|