mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 22:55:13 +00:00
17 lines
252 B
Vue
17 lines
252 B
Vue
<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>
|