File tree Expand file tree Collapse file tree 3 files changed +12
-15
lines changed
Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 11@import "tailwindcss" ;
22@import "@nuxt/ui-pro" ;
33
4- @source "../content/**/*" ;
4+ @source "../../../ content/**/*" ;
55
66@theme {
77 --font-sans : 'Public Sans' , sans-serif;
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import type { NuxtError } from ' #app'
33
4- defineProps ({
5- error: {
6- type: Object as PropType <NuxtError >,
7- required: true
8- }
9- })
4+ defineProps <{
5+ error: NuxtError
6+ }>()
107
118useHead ({
129 htmlAttrs: {
@@ -20,7 +17,9 @@ useSeoMeta({
2017})
2118
2219const { data : navigation } = await useAsyncData (' navigation' , () => queryCollectionNavigation (' docs' ))
23- const { data : files } = await useAsyncData (' files' , () => queryCollectionSearchSections (' docs' , { ignoredTags: [' style' ] }))
20+ const { data : files } = useLazyAsyncData (' search' , () => queryCollectionSearchSections (' docs' ), {
21+ server: false
22+ })
2423
2524provide (' navigation' , navigation )
2625 </script >
Original file line number Diff line number Diff line change @@ -13,11 +13,9 @@ useSeoMeta({
1313 </script >
1414
1515<template >
16- <UContainer >
17- <ContentRenderer
18- v-if =" page"
19- :value =" page"
20- :prose =" false"
21- />
22- </UContainer >
16+ <ContentRenderer
17+ v-if =" page"
18+ :value =" page"
19+ :prose =" false"
20+ />
2321</template >
You can’t perform that action at this time.
0 commit comments