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

17 lines
252 B
Vue
Raw Permalink Normal View History

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