mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +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>
|