mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +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>
|