+ To use this component you must have a CoreUI PRO license. Buy the
+ CoreUI PRO
+ and get access to all PRO components, features, templates, and dedicated support.
+
+
+
+
Support CoreUI Development
+
+ CoreUI is an MIT-licensed open source project and is completely free to use. However, the
+ amount of effort needed to maintain and develop new features for the project is not
+ sustainable without proper financial backing.
+
+
You can support our Open Source software development in the following ways:
+
+
+ Buy the
+ CoreUI PRO,
+ and get access to PRO components, and dedicated support.
+
+
+ Became a sponsor, and get
+ your logo on BACKERS.md/README.md files or each site of this documentation
+
- To use this component you must have a CoreUI PRO license. Buy the
- CoreUI PRO
- and get access to all PRO components, features, templates, and dedicated support.
-
-
-
-
Support CoreUI Development
-
- CoreUI is an MIT-licensed open source project and is completely free to use. However, the
- amount of effort needed to maintain and develop new features for the project is not
- sustainable without proper financial backing.
-
-
You can support our Open Source software development in the following ways:
-
-
- Buy the
- CoreUI PRO,
- and get access to PRO components, and dedicated support.
-
-
- Became a sponsor, and get
- your logo on BACKERS.md/README.md files or each site of this documentation
-
-
-
-
diff --git a/packages/docs/.vuepress/theme-coreui/src/client/styles/_layout.scss b/packages/docs/.vuepress/theme-coreui/src/client/styles/_layout.scss
deleted file mode 100644
index 284eae98..00000000
--- a/packages/docs/.vuepress/theme-coreui/src/client/styles/_layout.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-.wrapper {
- width: 100%;
- @include ltr-rtl("padding-left", var(--cui-sidebar-occupy-start, 0));
- will-change: auto;
- @include transition(padding .15s);
-}
\ No newline at end of file
diff --git a/packages/docs/.vuepress/theme-coreui/src/client/styles/_toc.scss b/packages/docs/.vuepress/theme-coreui/src/client/styles/_toc.scss
deleted file mode 100644
index fc1f0fee..00000000
--- a/packages/docs/.vuepress/theme-coreui/src/client/styles/_toc.scss
+++ /dev/null
@@ -1,40 +0,0 @@
-.docs-toc {
- @include media-breakpoint-up(lg) {
- position: sticky;
- top: 5rem;
- right: 0;
- z-index: 2;
- height: subtract(100vh, 7rem);
- overflow-y: auto;
- }
-
- nav {
- @include font-size(.875rem);
-
- ul {
- padding-left: 0;
- list-style: none;
-
- ul {
- padding-left: 1rem;
- margin-top: .25rem;
- }
- }
-
- li {
- margin-bottom: .25rem;
- }
-
- a {
- color: inherit;
-
- &:not(:hover) {
- text-decoration: none;
- }
-
- code {
- font: inherit;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/packages/docs/.vuepress/theme-coreui/src/node/defaultTheme.ts b/packages/docs/.vuepress/theme-coreui/src/node/defaultTheme.ts
deleted file mode 100755
index 0886fd22..00000000
--- a/packages/docs/.vuepress/theme-coreui/src/node/defaultTheme.ts
+++ /dev/null
@@ -1,89 +0,0 @@
-import type { Page, Theme } from '@vuepress/core'
-import { activeHeaderLinksPlugin } from '@vuepress/plugin-active-header-links'
-import { backToTopPlugin } from '@vuepress/plugin-back-to-top'
-import { prismjsPlugin } from '@vuepress/plugin-prismjs'
-import { themeDataPlugin } from '@vuepress/plugin-theme-data'
-import { fs, getDirname, path } from '@vuepress/utils'
-import type { DefaultThemeLocaleOptions, DefaultThemePluginsOptions } from '../shared'
-import { assignDefaultLocaleOptions } from './utils'
-
-const __dirname = getDirname(import.meta.url)
-
-export interface DefaultThemeOptions extends DefaultThemeLocaleOptions {
- /**
- * To avoid confusion with the root `plugins` option,
- * we use `themePlugins`
- */
- themePlugins?: DefaultThemePluginsOptions
-}
-export const defaultTheme = ({
- themePlugins = {},
- ...localeOptions
-}: DefaultThemeOptions = {}): Theme => {
- assignDefaultLocaleOptions(localeOptions)
-
- return {
- name: '@vuepress/coreui-docs-theme',
-
- templateBuild: path.resolve(__dirname, '../../templates/build.html'),
-
- alias: {
- // use alias to make all components replaceable
- ...Object.fromEntries(
- fs
- .readdirSync(path.resolve(__dirname, '../client/components'))
- .filter((file) => file.endsWith('.vue'))
- .map((file) => [`@theme/${file}`, path.resolve(__dirname, '../client/components', file)]),
- ),
- },
-
- clientConfigFile: path.resolve(__dirname, '../client/config.ts'),
-
- extendsPage: (page: Page>) => {
- // save relative file path into page data to generate edit link
- page.data.filePathRelative = page.filePathRelative
- // save title into route meta to generate navbar and sidebar
- page.routeMeta.title = page.title
- },
-
- // layouts: path.resolve(__dirname, '../client/layouts'),
-
- // clientAppEnhanceFiles: path.resolve(__dirname, '../client/clientAppEnhance.ts'),
-
- // clientAppSetupFiles: path.resolve(__dirname, '../client/clientAppSetup.ts'),
-
- // // use the relative file path to generate edit link
- // extendsPageData: ({ filePathRelative }) => ({ filePathRelative }),
-
- plugins: [
- // @vuepress/plugin-active-header-link
- themePlugins.activeHeaderLinks !== false
- ? activeHeaderLinksPlugin({
- headerLinkSelector: 'a.sidebar-item',
- headerAnchorSelector: '.header-anchor',
- // should greater than page transition duration
- delay: 300,
- })
- : [],
-
- // @vuepress/plugin-back-to-top
- themePlugins.backToTop !== false ? backToTopPlugin() : [],
-
- // @vuepress/plugin-prismjs
- themePlugins.prismjs !== false ? prismjsPlugin() : [],
-
- // @vuepress/plugin-theme-data
- themeDataPlugin({ themeData: localeOptions }),
- // [
- // '@vuepress/active-header-links',
- // {
- // headerLinkSelector: 'a.sidebar-item',
- // headerAnchorSelector: '.anchor-link',
- // },
- // ],
- // ['@vuepress/back-to-top', themePlugins.backToTop !== false],
- // ['@vuepress/prismjs', themePlugins.prismjs !== false],
- // ['@vuepress/theme-data', { themeData: localeOptions }],
- ],
- }
-}
diff --git a/packages/docs/api/tabs/CTab.api.md b/packages/docs/api/tabs/CTab.api.md
new file mode 100644
index 00000000..ed8dc7b0
--- /dev/null
+++ b/packages/docs/api/tabs/CTab.api.md
@@ -0,0 +1,13 @@
+### CTab
+
+```jsx
+import { CTab } from '@coreui/vue'
+// or
+import CTab from '@coreui/vue/src/components/tabs/CTab'
+```
+
+#### Props
+
+| Prop name | Description | Type | Values | Default |
+| ------------ | ----------- | -------------- | ------ | ------- |
+| **item-key** | Item key. | number\|string | - | - |
diff --git a/packages/docs/api/tabs/CTabList.api.md b/packages/docs/api/tabs/CTabList.api.md
new file mode 100644
index 00000000..68b9ca46
--- /dev/null
+++ b/packages/docs/api/tabs/CTabList.api.md
@@ -0,0 +1,14 @@
+### CTabList
+
+```jsx
+import { CTabList } from '@coreui/vue'
+// or
+import CTabList from '@coreui/vue/src/components/tabs/CTabList'
+```
+
+#### Props
+
+| Prop name | Description | Type | Values | Default |
+| ----------- | ------------------------------------- | ------ | -------------------------------------------------------- | ------- |
+| **layout** | Specify a layout type for component. | string | `'fill'`, `'justified'` | - |
+| **variant** | Set the nav variant to tabs or pills. | string | `'pills'`, `'tabs'`, `'underline'`, `'underline-border'` | - |
diff --git a/packages/docs/api/tabs/CTabPane.api.md b/packages/docs/api/tabs/CTabPane.api.md
index 61e1db99..17eb0a59 100644
--- a/packages/docs/api/tabs/CTabPane.api.md
+++ b/packages/docs/api/tabs/CTabPane.api.md
@@ -8,9 +8,10 @@ import CTabPane from '@coreui/vue/src/components/tabs/CTabPane'
#### Props
-| Prop name | Description | Type | Values | Default |
-| ----------- | ----------------------------------- | ------- | ------ | ------- |
-| **visible** | Toggle the visibility of component. | boolean | - | false |
+| Prop name | Description | Type | Values | Default |
+| ------------------------------------------------------------- | --------------------------------------- | ------- | ------ | ------- |
+| **transition**
5.1.0+
| Enable fade in and fade out transition. | boolean | - | true |
+| **visible** | Toggle the visibility of component. | boolean | - | false |
#### Events
diff --git a/packages/docs/api/tabs/CTabPanel.api.md b/packages/docs/api/tabs/CTabPanel.api.md
new file mode 100644
index 00000000..bf254378
--- /dev/null
+++ b/packages/docs/api/tabs/CTabPanel.api.md
@@ -0,0 +1,22 @@
+### CTabPanel
+
+```jsx
+import { CTabPanel } from '@coreui/vue'
+// or
+import CTabPanel from '@coreui/vue/src/components/tabs/CTabPanel'
+```
+
+#### Props
+
+| Prop name | Description | Type | Values | Default |
+| -------------- | --------------------------------------- | -------------- | ------ | ------- |
+| **item-key** | Item key. | number\|string | - | - |
+| **transition** | Enable fade in and fade out transition. | boolean | - | true |
+| **visible** | Toggle the visibility of component. | boolean | - | false |
+
+#### Events
+
+| Event name | Description | Properties |
+| ---------- | -------------------------------------------------------- | ---------- |
+| **hide** | Callback fired when the component requests to be hidden. |
+| **show** | Callback fired when the component requests to be shown. |
diff --git a/packages/docs/api/tabs/CTabs.api.md b/packages/docs/api/tabs/CTabs.api.md
new file mode 100644
index 00000000..4fea4982
--- /dev/null
+++ b/packages/docs/api/tabs/CTabs.api.md
@@ -0,0 +1,19 @@
+### CTabs
+
+```jsx
+import { CTabs } from '@coreui/vue'
+// or
+import CTabs from '@coreui/vue/src/components/tabs/CTabs'
+```
+
+#### Props
+
+| Prop name | Description | Type | Values | Default |
+| ------------------- | -------------------- | -------------- | ------ | ------- |
+| **active-item-key** | The active item key. | number\|string | - | - |
+
+#### Events
+
+| Event name | Description | Properties |
+| ---------- | -------------------------------------------------- | ---------- |
+| **change** | The callback is fired when the active tab changes. |
diff --git a/packages/docs/components/alert.md b/packages/docs/components/alert.md
index 8575ad96..7a757599 100644
--- a/packages/docs/components/alert.md
+++ b/packages/docs/components/alert.md
@@ -1,5 +1,6 @@
---
title: Vue Alert Component
+name: Alert
description: Vue alert component gives contextual feedback information for common user operations. The alert component is delivered with a bunch of usable and adjustable alert messages.
other_frameworks: alert
---
diff --git a/packages/docs/components/chart.md b/packages/docs/components/chart.md
index 181f6635..d10a26d2 100644
--- a/packages/docs/components/chart.md
+++ b/packages/docs/components/chart.md
@@ -1,5 +1,6 @@
---
title: Vue Chart.js Component
+name: Chart.js
description: Vue wrapper for Chart.js 3.0, the most popular charting library.
---
diff --git a/packages/docs/components/placeholder.md b/packages/docs/components/placeholder.md
index 658ca503..a18b0153 100644
--- a/packages/docs/components/placeholder.md
+++ b/packages/docs/components/placeholder.md
@@ -1,5 +1,6 @@
---
title: Vue Placeholder Component
+name: Placeholder
description: Use loading vue placeholders for your components or pages to indicate something may still be loading.
other_frameworks: placeholder
---
diff --git a/packages/docs/components/sidebar.md b/packages/docs/components/sidebar.md
index 1f32c9c6..b59d1f54 100644
--- a/packages/docs/components/sidebar.md
+++ b/packages/docs/components/sidebar.md
@@ -1,5 +1,6 @@
---
title: Vue Sidebar Component
+name: Sidebar
description: Vue Sidebar is a powerful and customizable responsive navigation component for any type of vertical navigation. Bootstrap Sidebar come with built-in support for branding, navigation, and more.
other_frameworks: sidebar
---
diff --git a/packages/docs/components/tabs.md b/packages/docs/components/tabs.md
index 8da4e027..a7c06623 100644
--- a/packages/docs/components/tabs.md
+++ b/packages/docs/components/tabs.md
@@ -1,112 +1,489 @@
---
-title: CTabs
-description:
-activeKey: 1
+title: Vue Tabs Components
+name: Tabs
+description: The CoreUI Vue Tabs component provides a flexible and accessible way to create tabbed navigation in your application. It supports various styles and configurations to meet different design requirements.
+since: 5.1.0
---
-## Examples
-
-{{ $page.activeKey }}
-
-
-
-
-
- Active
-
-
-
-
- Link
-
-
-
-
- Link
-
-
-
-
-
- Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown
- aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan
- helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu
- banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone.
- Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.
-
-
- Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid.
- Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson
- artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo
- enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud
- organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia
- yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes
- anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson
- biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente
- accusamus tattooed echo park.
-
-
- Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's
- organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify
- pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy
- hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred
- pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie
- etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl
- craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.
-
-
+## Example
+The basic Vue tabs example uses the `variant="tabs"` props to generate a tabbed interface.
+::: demo
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+:::
```vue
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+```
+
+
+## Available styles
+
+Change the style of ``'s component with modifiers and utilities. Mix and match as needed, or build your own.
+
+### Unstyled
-
-
-
- Active
-
-
-
-
- Link
-
-
-
-
- Link
-
-
-
-
-
- Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown
- aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan
- helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu
- banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone.
- Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.
-
-
- Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid.
- Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson
- artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo
- enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud
- organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia
- yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes
- anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson
- biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente
- accusamus tattooed echo park.
-
-
- Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's
- organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify
- pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy
- hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred
- pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie
- etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl
- craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.
-
-
+If you don’t provide the `variant` prop, the component will default to a basic style.
+::: demo
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+:::
+```vue
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
```
+### Pills
+
+Take that same code, but use `variant="pills"` instead:
+
+::: demo
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+:::
+```vue
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+```
+
+### Underline
+
+Take that same code, but use `variant="underline"` instead:
+
+::: demo
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+:::
+```vue
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+```
+
+### Underline border
+
+Take that same code, but use `variant="underline-border"` instead:
+
+::: demo
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+:::
+```vue
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+```
+
+### Fill and justify
+
+Force your ``'s contents to extend the full available width one of two modifier classes. To proportionately fill all available space use `layout="fill"`. Notice that all horizontal space is occupied, but not every nav item has the same width.
+
+::: demo
+
+
+ Home
+ Profile tab with longer content
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+:::
+```vue
+
+
+ Home
+ Profile tab with longer content
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+```
+
+For equal-width elements, use `layout="justified"`. All horizontal space will be occupied by nav links, but unlike the `layout="fill"` above, every nav item will be the same width.
+
+::: demo
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+:::
+```vue
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+```
+
+## Accessibility
+
+Dynamic tabbed interfaces, as described in the [WAI ARIA Authoring Practices](https://www.w3.org/TR/wai-aria-practices/#tabpanel), require `role="tablist"`, `role="tab"`, `role="tabpanel"`, and additional `aria-` attributes in order to convey their structure, functionality and current state to users of assistive technologies (such as screen readers).
+
+### WAI-ARIA Roles
+
+- The element that serves as the container for the set of tabs has the role `tablist`.
+- Each element that serves as a tab has the role `tab` and is contained within the element with the role `tablist`.
+- Each element that contains the content panel for a tab has the role `tabpanel`.
+- If the tab list has a visible label, the element with the role `tablist` has `aria-labelledby` set to a value that refers to the labeling element. Otherwise, the `tablist` element has a label provided by `aria-label`.
+- Each element with the role `tab` has the property `aria-controls` referring to its associated `tabpanel` element.
+- The active tab element has the state `aria-selected` set to `true`, and all other tab elements have it set to `false`.
+- Each element with the role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.
+
+Our Vue Tabs component automatically manages all `role="..."` and `aria-` attributes for accessibility. It also handles the selected state by adding `aria-selected="true"` to the active tab. Additionally, you have the flexibility to manually set these attributes, as shown in the example below:
+
+```jsx
+
+
+ Home
+ Profile
+ Contact
+ Disabled
+
+
+
+ Home tab content
+
+
+ Profile tab content
+
+
+ Contact tab content
+
+
+ Disabled tab content
+
+
+
+```
+
+This example demonstrates how to manually set `aria-selected`, `aria-controls`, and `aria-labelledby` attributes on your ``'s and ``'s.
+
+### Keyboard Interaction
+
+**When focus enters the tab list:**
+
+Tab: It places focus on the active `tab` element.
+
+**When focus is on a tab element:**
+
+Tab: Moves focus to the next element in the tab sequence, typically the tabpanel unless the first focusable element inside the tabpanel is found earlier.
+
+Left Arrow: Moves focus to the previous tab. If on the first tab, it wraps around to the last tab.
+
+Right Arrow: Moves focus to the next tab. If on the last tab, it wraps around to the first tab.
+
+Home: Moves focus to the first tab.
+
+End: Moves focus to the last tab.
+
+## Customizing
+
+### CSS variables
+
+Vue tabs use local CSS variables on `.nav`, `.nav-tabs`, `.nav-pills`, `.nav-underline` and `.nav-underline-border` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
+
+On the `.nav` base class:
+
+
+
+On the `.nav-tabs` modifier class:
+
+
+
+On the `.nav-pills` modifier class:
+
+
+
+On the `.nav-underline` modifier class:
+
+
+
+On the `.nav-underline-border` modifier class:
+
+
+
+#### How to use CSS variables
+
+```jsx
+const vars = {
+ '--my-css-var': 10,
+ '--my-another-css-var': "red"
+}
+return ...
+```
+
+### SASS variables
+
+
+
+## API
-## Additional content
\ No newline at end of file
+!!!include(./api/tabs/CTab.api.md)!!!
+!!!include(./api/tabs/CTabContent.api.md)!!!
+!!!include(./api/tabs/CTabList.api.md)!!!
+!!!include(./api/tabs/CTabPanel.api.md)!!!
+!!!include(./api/tabs/CTabs.api.md)!!!
\ No newline at end of file
diff --git a/packages/docs/getting-started/introduction.md b/packages/docs/getting-started/introduction.md
index 369de935..405a039e 100644
--- a/packages/docs/getting-started/introduction.md
+++ b/packages/docs/getting-started/introduction.md
@@ -1,5 +1,5 @@
---
-title: Getting Started
+title: Introduction
name: Introduction
description: CoreUI for Vue.js is UI Component library written in TypeScript, and ready for your next Vue.js project. Learn how to include CoreUI for Vue.js in your project.
menu: Getting started
@@ -9,36 +9,74 @@ menu: Getting started
### Npm
+
+
+ CoreUI
+ CoreUI PRO
+
+
+
+
```bash
npm install @coreui/vue @coreui/coreui
```
-
-If you use CoreUI PRO version.
+
+
```bash
npm install @coreui/vue-pro @coreui/coreui-pro
```
+
+
+
+
### Yarn
+
+
+ CoreUI
+ CoreUI PRO
+
+
+
+
```bash
yarn add @coreui/vue @coreui/coreui
```
-
-If you use CoreUI PRO version.
+
+
```bash
yarn add @coreui/vue-pro @coreui/coreui-pro
```
+
+
+
## Using components
-```ts
+
+
+ CoreUI
+ CoreUI PRO
+
+
+
+
+```js
import { CAlert } from '@coreui/vue';
+```
+
+
-// CoreUI PRO version
+```js
import { CAlert } from '@coreui/vue-pro';
```
+
+
+
+
## Stylesheets
@@ -48,12 +86,26 @@ Vue components are styled using the `@coreui/coreui` or `@coreui/coreui-pro` CSS
###### Basic usage
+
+
+ CoreUI
+ CoreUI PRO
+
+
+
+
```js
import '@coreui/coreui/dist/css/coreui.min.css'
+```
+
+
-// CoreUI PRO version
+```js
import '@coreui/coreui-pro/dist/css/coreui.min.css'
```
+
+
+
### Bootstrap CSS files
diff --git a/packages/docs/package.json b/packages/docs/package.json
index 95f61218..1fc7b75b 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -1,25 +1,36 @@
{
"name": "@coreui/vue-docs",
- "version": "5.0.0",
+ "version": "5.1.0",
"scripts": {
"api": "vue-docgen -c build/docgen.config.js",
"dev": "vuepress dev --clean-cache",
- "build": "vuepress build"
+ "build": "vuepress build --debug"
},
"license": "MIT",
"devDependencies": {
"@coreui/chartjs": "^4.0.0",
- "@coreui/coreui": "^5.0.0",
+ "@coreui/coreui": "^5.0.2",
"@coreui/icons": "^3.0.1",
"@coreui/icons-vue": "^2.0.0",
"@coreui/utils": "^2.0.2",
"@coreui/vue-chartjs": "^3.0.0",
"@docsearch/css": "^3.6.0",
"@docsearch/js": "^3.6.0",
- "@vuepress/plugin-register-components": "2.0.0-rc.0",
- "@vuepress/plugin-toc": "2.0.0-rc.0",
+ "@vuepress/bundler-vite": "2.0.0-rc.12",
+ "@vuepress/bundler-webpack": "2.0.0-rc.12",
+ "@vuepress/plugin-active-header-links": "2.0.0-rc.31",
+ "@vuepress/plugin-git": "2.0.0-rc.31",
+ "@vuepress/plugin-markdown-container": "2.0.0-rc.30",
+ "@vuepress/plugin-prismjs": "2.0.0-rc.32",
+ "@vuepress/plugin-theme-data": "2.0.0-rc.31",
+ "@vuepress/plugin-register-components": "2.0.0-rc.31",
+ "@vuepress/plugin-toc": "2.0.0-rc.31",
+ "@vuepress/shared": "2.0.0-rc.12",
+ "@vuepress/utils": "2.0.0-rc.12",
+ "markdown-it-anchor": "^9.0.1",
"markdown-it-include": "^2.0.0",
+ "sass": "^1.77.2",
"vue-docgen-cli": "^4.79.0",
- "vuepress": "2.0.0-rc.0"
+ "vuepress": "2.0.0-rc.12"
}
}