mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 02:10:40 +01:00
docs(ComponentCode): better slots handling
This commit is contained in:
@@ -237,7 +237,7 @@ const code = computed(() => {
|
|||||||
code += `
|
code += `
|
||||||
<template #${key}>
|
<template #${key}>
|
||||||
${value}
|
${value}
|
||||||
</template>`
|
</template>\n`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
code += (Object.keys(props.slots).length > 1 ? '\n' : '') + `</${name}>`
|
code += (Object.keys(props.slots).length > 1 ? '\n' : '') + `</${name}>`
|
||||||
|
|||||||
Reference in New Issue
Block a user