docs: Updated links

This commit is contained in:
Ilya Artamonov
2022-12-14 22:34:02 +03:00
parent d06ecf3a1f
commit c5a333eb61
3 changed files with 41 additions and 41 deletions

View File

@@ -34,31 +34,31 @@ function buildSidebar() {
function getComponents() { function getComponents() {
return [ return [
{ text: 'Accordion', link: 'components/accordion/accordion.md' }, { text: 'Accordion', link: 'components/accordion' },
{ text: 'Alert', link: '/components/alert/alert.md' }, { text: 'Alert', link: '/components/alert' },
{ text: 'Avatar', link: 'components/avatar/avatar.md' }, { text: 'Avatar', link: 'components/avatar' },
{ text: 'Breadcrumb', link: 'components/breadcrumb/breadcrumb.md' }, { text: 'Breadcrumb', link: 'components/breadcrumb' },
{ text: 'Button', link: '/components/button/button.md' }, { text: 'Button', link: '/components/button' },
{ text: 'Badge', link: 'components/badge/badge.md' }, { text: 'Badge', link: 'components/badge' },
{ text: 'Button Group', link: '/components/buttonGroup/buttonGroup.md' }, { text: 'Button Group', link: '/components/button-group' },
{ text: 'Card', link: 'components/card/card.md' }, { text: 'Card', link: 'components/card.md' },
{ text: 'Carousel', link: 'components/carousel/carousel.md' }, { text: 'Carousel', link: 'components/carousel' },
{ text: 'Dropdown', link: '/components/dropdown/dropdown.md' }, { text: 'Dropdown', link: '/components/dropdown' },
{ text: 'Progress', link: 'components/progress/progress.md' }, { text: 'Progress', link: 'components/progress' },
{ text: 'Rating', link: 'components/rating/rating.md' }, { text: 'Rating', link: 'components/rating' },
{ text: 'Spinner', link: '/components/spinner/spinner.md' }, { text: 'Spinner', link: '/components/spinner' },
{ text: 'Tabs', link: '/components/tabs/tabs.md' }, { text: 'Tabs', link: '/components/tabs' },
{ text: 'ListGroup', link: 'components/listGroup/listGroup.md' }, { text: 'ListGroup', link: 'components/list-group' },
{ text: 'Toast', link: 'components/toast/toast.md' }, { text: 'Toast', link: 'components/toast' },
{ text: 'Tooltip', link: 'components/tooltip/tooltip.md' }, { text: 'Tooltip', link: 'components/tooltip' },
{ text: 'Modal', link: 'components/modal/modal.md' }, { text: 'Modal', link: 'components/modal' },
{ text: 'Navbar', link: 'components/navbar/navbar.md' }, { text: 'Navbar', link: 'components/navbar' },
{ text: '- Footer', link: 'components/footer/footer.md' }, { text: '- Footer', link: 'components/footer' },
{ text: '- Pagination', link: 'components/pagination/pagination.md' }, { text: '- Pagination', link: 'components/pagination' },
{ text: '- Sidebar', link: 'components/sidebar/sidebar.md' }, { text: '- Sidebar', link: 'components/sidebar' },
{ text: '- Table', link: 'components/table/table.md' }, { text: '- Table', link: 'components/table' },
{ text: '- Timeline', link: 'components/timeline/timeline.md' }, { text: '- Timeline', link: 'components/timeline' },
] ]
} }

View File

@@ -1,8 +1,8 @@
<script setup> <script setup>
import AccordionExample from './examples/AccordionExample.vue'; import AccordionExample from './accordion/examples/AccordionExample.vue';
import AccordionAlwaysOpenExample from './examples/AccordionAlwaysOpenExample.vue'; import AccordionAlwaysOpenExample from './accordion/examples/AccordionAlwaysOpenExample.vue';
import AccordionFlushExample from './examples/AccordionFlushExample.vue'; import AccordionFlushExample from './accordion/examples/AccordionFlushExample.vue';
import AccordionStyledHeadersExample from './examples/AccordionStyledHeadersExample.vue'; import AccordionStyledHeadersExample from './accordion/examples/AccordionStyledHeadersExample.vue';
</script> </script>
# Vue Accordion Component - Flowbite # Vue Accordion Component - Flowbite
@@ -14,7 +14,7 @@ Original reference: [https://flowbite.com/docs/components/accordion/](https://fl
::: :::
## Default accordion ## Default accordion
Use this example to basic accordion. Use this example to basic accordion.
```vue ```vue
<script setup> <script setup>
import { Accordion, AccordionPanel, AccordionHeader, AccordionContent } from 'flowbite-vue' import { Accordion, AccordionPanel, AccordionHeader, AccordionContent } from 'flowbite-vue'

View File

@@ -1,10 +1,10 @@
<script setup> <script setup>
import AlertTypeExample from './examples/AlertTypeExample.vue'; import AlertTypeExample from './alert/examples/AlertTypeExample.vue';
import AlertTitleExample from './examples/AlertTitleExample.vue'; import AlertTitleExample from './alert/examples/AlertTitleExample.vue';
import AlertClosableExample from './examples/AlertClosableExample.vue'; import AlertClosableExample from './alert/examples/AlertClosableExample.vue';
import AlertBorderExample from './examples/AlertBorderExample.vue'; import AlertBorderExample from './alert/examples/AlertBorderExample.vue';
import AlertIconExample from './examples/AlertIconExample.vue'; import AlertIconExample from './alert/examples/AlertIconExample.vue';
import AlertInlineExample from './examples/AlertInlineExample.vue'; import AlertInlineExample from './alert/examples/AlertInlineExample.vue';
</script> </script>
# Vue Alert Component - Flowbite # Vue Alert Component - Flowbite
@@ -29,7 +29,7 @@ defineProps({
type: { type: {
type: String as PropType<AlertType>, type: String as PropType<AlertType>,
default: 'info', default: 'info',
}, },
}) })
``` ```
@@ -58,7 +58,7 @@ defineProps({
title: { title: {
type: String, type: String,
default: '', default: '',
}, },
}) })
``` ```
@@ -87,7 +87,7 @@ defineProps({
closable: { closable: {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
}) })
``` ```
@@ -116,7 +116,7 @@ defineProps({
border: { border: {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
}) })
``` ```
@@ -145,7 +145,7 @@ defineProps({
icon: { icon: {
type: Boolean, type: Boolean,
default: true, default: true,
}, },
}) })
``` ```
@@ -174,7 +174,7 @@ defineProps({
inline: { inline: {
type: Boolean, type: Boolean,
default: true, default: true,
}, },
}) })
``` ```