Nuxt/test/fixtures/basic/components/BreakInSetup.vue

11 lines
192 B
Vue
Raw Permalink Normal View History

<script setup>
// break server-side
const data = window.useNuxtApp().payload
</script>
<template>
<div>
This breaks in server-side setup. {{ data.serverRendered }}
</div>
</template>