Nuxt/examples/auto-imports/components/components/JustClient.client.vue
Daniel Roe b38dc097f6
feat(nuxt3): allow separating client and server components (#4390)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-19 21:13:55 +02:00

11 lines
167 B
Vue

<script setup lang="ts">
const height = window.innerHeight
</script>
<template>
<div>
This is client only.
Window height: {{ height }}
</div>
</template>