Nuxt/test/fixtures/basic/pages/prerender/test.vue

10 lines
185 B
Vue

<script setup lang="ts">
const wasPrerendered = useState(() => import.meta.prerender)
</script>
<template>
<div>
should be prerendered: {{ wasPrerendered }}
</div>
</template>