mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-19 01:45:53 +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">
|
<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', () => {
|
const state = useState('test', () => {
|
||||||
let hasAccessToWindow = null as null | boolean
|
let hasAccessToWindow = null as null | boolean
|
||||||
|
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const renderedOnServer = useState(() => import.meta.server)
|
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>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
Loading…
Reference in New Issue
Block a user