mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
revert: revert transition due to tests breaking with double element
This commit is contained in:
parent
29923890f9
commit
da28dd62f2
@ -1,4 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
// Disable page transition for this page to avoid having multiple time the same page during transition
|
||||
pageTransition: false,
|
||||
layoutTransition: false,
|
||||
})
|
||||
|
||||
const state = useState('test', () => {
|
||||
let hasAccessToWindow = null as null | boolean
|
||||
|
||||
|
@ -1,5 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
const renderedOnServer = useState(() => import.meta.server)
|
||||
definePageMeta({
|
||||
// Disable page transition for this page to avoid having multiple time the same page during transition
|
||||
pageTransition: false,
|
||||
layoutTransition: false,
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
Loading…
Reference in New Issue
Block a user