mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 17:00:36 +01:00
docs(ComponentExample): automatically read code (#789)
This commit is contained in:
@@ -8,23 +8,7 @@ links:
|
||||
|
||||
## Usage
|
||||
|
||||
::component-example
|
||||
#default
|
||||
:card-example{class="w-full"}
|
||||
|
||||
#code
|
||||
```vue
|
||||
<template>
|
||||
<UCard>
|
||||
<template #header />
|
||||
|
||||
Body
|
||||
|
||||
<template #footer />
|
||||
</UCard>
|
||||
</template>
|
||||
```
|
||||
::
|
||||
:component-example{component="card-example" :componentProps='{"class": "w-full"}'}
|
||||
|
||||
## Slots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user