mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
16 lines
210 B
Vue
16 lines
210 B
Vue
<script setup>
|
|
prerenderRoutes(['/some/url/from/server-only/component'])
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
server-only component
|
|
</div>
|
|
</template>
|
|
|
|
<style>
|
|
:root {
|
|
--server-only: 'server-only';
|
|
}
|
|
</style>
|