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

16 lines
210 B
Vue
Raw Permalink Normal View History

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