mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
23 lines
616 B
Vue
23 lines
616 B
Vue
|
<script setup>
|
||
|
definePageMeta({
|
||
|
// Nested <Suspense> + <Transition> is still buggy
|
||
|
pageTransition: false,
|
||
|
layoutTransition: false
|
||
|
})
|
||
|
const links = ['sync', 'async'].flatMap(parent => [1, 2].flatMap(p => ['sync', 'async'].flatMap(child => [1, 2].map(c => `/suspense/${parent}-${p}/${child}-${c}/`))))
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div>
|
||
|
This exists to test synchronous transitions between nested Suspense components.
|
||
|
<hr>
|
||
|
<NuxtLink v-for="link in links" :key="link" :to="link" style="display: block;">
|
||
|
{{ link }}
|
||
|
</NuxtLink>
|
||
|
<hr>
|
||
|
<div>
|
||
|
<NuxtPage />
|
||
|
</div>
|
||
|
</div>
|
||
|
</template>
|