docs: update

This commit is contained in:
Benjamin Canac
2024-06-28 11:49:56 +02:00
parent db45bafaed
commit 4ef81991f2
6 changed files with 7 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ const route = useRoute()
const name = camelCase(route.params.slug[route.params.slug.length - 1])
const { data: ast } = await useAsyncData(`${name}-theme`, () => parseMarkdown(`
const { data: ast } = await useAsyncData<any>(`${name}-theme`, () => parseMarkdown(`
\`\`\`yml
${json5.stringify(theme[name], null, 2).replace(/,([ |\t\n]+[}|\])])/g, '$1')}
\`\`\`\