Nuxt/test/fixtures/basic/components/ServerOnlyComponent.server.vue

17 lines
243 B
Vue
Raw Permalink Normal View History

<script setup>
prerenderRoutes(['/some/url/from/server-only/component'])
</script>
<template>
<div>
server-only component
<ServerOnlyComponentChild />
</div>
</template>
<style>
:root {
--server-only: 'server-only';
}
</style>