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

17 lines
243 B
Vue
Raw 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>