refactor: update examples

This commit is contained in:
Łukasz Holeczek
2021-08-29 16:10:33 +02:00
parent 1b7a092079
commit cac84bdcdd
38 changed files with 601 additions and 1422 deletions
+7 -4
View File
@@ -1,12 +1,15 @@
<template>
<CRow>
<CCol :xs="12">
<DocsCallout name="Popover" href="components/breadcrumb" />
</CCol>
<CCol :xs="12">
<CCard class="mb-4">
<CCardHeader>
<strong>Vue Popovers</strong> <small>Basic example</small>
</CCardHeader>
<CCardBody>
<Example href="directives/popover.html#example">
<DocsExample href="directives/popover.html#example">
<CButton
color="danger"
size="lg"
@@ -19,7 +22,7 @@
>
Click to toggle popover
</CButton>
</Example>
</DocsExample>
</CCardBody>
</CCard>
</CCol>
@@ -33,7 +36,7 @@
Four options are available: top, right, bottom, and left aligned.
Directions are mirrored when using CoreUI for Vue in RTL.
</p>
<Example href="directives/popover.html#four-directions">
<DocsExample href="directives/popover.html#four-directions">
<CButton
color="secondary"
v-c-popover="{
@@ -70,7 +73,7 @@
}"
>Popover on left</CButton
>
</Example>
</DocsExample>
</CCardBody>
</CCard>
</CCol>