mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +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>
|