Nuxt/test/fixtures/basic/components/ClientOnlySetupScript.client.vue

11 lines
212 B
Vue
Raw Permalink Normal View History

<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>