docs: improve props and preset

This commit is contained in:
Benjamin Canac
2023-07-28 14:09:13 +02:00
parent 94f1c4e6a0
commit e6d1106b83
2 changed files with 17 additions and 32 deletions

View File

@@ -23,7 +23,7 @@ const name = `U${useUpperFirst(camelName)}`
const preset = appConfig.ui[camelName]
const { data: ast } = await useAsyncData(`${name}-preset`, () => transformContent('content:_markdown.md', `
\`\`\`json
\`\`\`json [appConfig.ui.${camelName}]
${JSON.stringify(preset, null, 2)}
\`\`\`\
`, {