mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 02:40:35 +01:00
docs(ComponentCode/ComponentExample/ComponentTheme): handle collapse
This commit is contained in:
@@ -44,6 +44,7 @@ const component = computed(() => {
|
||||
|
||||
const { data: ast } = await useAsyncData(`component-theme-${name}`, async () => {
|
||||
const md = `
|
||||
::code-collapse
|
||||
\`\`\`ts [app.config.ts]
|
||||
export default defineAppConfig({
|
||||
ui: {
|
||||
@@ -52,6 +53,8 @@ export default defineAppConfig({
|
||||
})
|
||||
\`\`\`\
|
||||
|
||||
::
|
||||
|
||||
${strippedCompoundVariants.value
|
||||
? `
|
||||
::callout{icon="i-simple-icons-github" to="https://github.com/benjamincanac/ui3/blob/dev/src/theme/${name}.ts"}
|
||||
|
||||
Reference in New Issue
Block a user