Fix pre-rendering
Some checks failed
Build and deploy updated apps / Build & deploy (push) Failing after 1m1s
Some checks failed
Build and deploy updated apps / Build & deploy (push) Failing after 1m1s
This commit is contained in:
parent
4a872ad1c6
commit
7c5b0eaa9f
@ -1,12 +1,13 @@
|
|||||||
<!-- This page just exists to ensure all pages are found during pre-rendered -->
|
<!-- This page just exists to ensure all pages are found during pre-rendered -->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NuxtLink :to="buildPrefix(preferredLocale, preferredVariant)"></NuxtLink>
|
Hello
|
||||||
|
<!-- <NuxtLink :to="buildPrefix(preferredLocale, preferredVariant)"></NuxtLink>-->
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
definePageMeta({layout: false}) // crashes otherwise if multiple languages/variants
|
definePageMeta({layout: false}) // crashes otherwise if multiple languages/variants
|
||||||
|
|
||||||
const {buildPrefix} = useContentPrefix()
|
// const {buildPrefix} = useContentPrefix()
|
||||||
const {preferredLocale, preferredVariant} = useContentPreference()
|
// const {preferredLocale, preferredVariant} = useContentPreference()
|
||||||
</script>
|
</script>
|
||||||
Loading…
x
Reference in New Issue
Block a user