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

10 lines
185 B
Vue
Raw Permalink Normal View History

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