docs: fetch index page from dev source

This commit is contained in:
Benjamin Canac
2023-09-15 17:50:22 +02:00
parent 40b1d30f5c
commit 3424ce118d

View File

@@ -184,7 +184,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { breakpointsTailwind, useBreakpoints } from '@vueuse/core' import { breakpointsTailwind, useBreakpoints } from '@vueuse/core'
const { data: page } = await useAsyncData('index', () => queryContent('/').findOne()) const { data: page } = await useAsyncData('index', () => queryContent('/dev').findOne())
const { data: module } = await useFetch<{ const { data: module } = await useFetch<{
stats: { stats: {
downloads: number downloads: number