@@ -9,36 +9,74 @@ menu: Getting started
9
9
10
10
###Npm
11
11
12
+ <CTabs :activeItemKey =" 1 " >
13
+ <CTabList variant =" underline-border " >
14
+ <CTab :itemKey="1">CoreUI</CTab>
15
+ <CTab :itemKey="2">CoreUI PRO</CTab>
16
+ </CTabList >
17
+ <CTabContent >
18
+ <CTabPanel :itemKey="1">
19
+
12
20
``` bash
13
21
npm install @coreui/vue @coreui/coreui
14
22
```
15
-
16
- If you use CoreUI PRO version.
23
+ </ CTabPanel >
24
+ <CTabPanel :itemKey="2">
17
25
18
26
``` bash
19
27
npm install @coreui/vue-pro @coreui/coreui-pro
20
28
```
29
+ </CTabPanel >
30
+ </CTabContent >
31
+ </CTabs >
32
+
21
33
22
34
###Yarn
23
35
36
+ <CTabs :activeItemKey =" 1 " >
37
+ <CTabList variant =" underline-border " >
38
+ <CTab :itemKey="1">CoreUI</CTab>
39
+ <CTab :itemKey="2">CoreUI PRO</CTab>
40
+ </CTabList >
41
+ <CTabContent >
42
+ <CTabPanel :itemKey="1">
43
+
24
44
``` bash
25
45
yarn add @coreui/vue @coreui/coreui
26
46
```
27
-
28
- If you use CoreUI PRO version.
47
+ </ CTabPanel >
48
+ <CTabPanel :itemKey="2">
29
49
30
50
``` bash
31
51
yarn add @coreui/vue-pro @coreui/coreui-pro
32
52
```
53
+ </CTabPanel >
54
+ </CTabContent >
55
+ </CTabs >
33
56
34
57
##Using components
35
58
36
- ``` ts
59
+ <CTabs :activeItemKey =" 1 " >
60
+ <CTabList variant =" underline-border " >
61
+ <CTab :itemKey="1">CoreUI</CTab>
62
+ <CTab :itemKey="2">CoreUI PRO</CTab>
63
+ </CTabList >
64
+ <CTabContent >
65
+ <CTabPanel :itemKey="1">
66
+
67
+ ``` js
37
68
import {CAlert }from ' @coreui/vue' ;
69
+ ```
70
+ </CTabPanel >
71
+ <CTabPanel :itemKey="2">
38
72
39
- // CoreUI PRO version
73
+ ``` js
40
74
import {CAlert }from ' @coreui/vue-pro' ;
41
75
```
76
+ </CTabPanel >
77
+ </CTabContent >
78
+ </CTabs >
79
+
42
80
43
81
##Stylesheets
44
82
@@ -48,12 +86,26 @@ Vue components are styled using the `@coreui/coreui` or `@coreui/coreui-pro` CSS
48
86
49
87
######Basic usage
50
88
89
+ <CTabs :activeItemKey =" 1 " >
90
+ <CTabList variant =" underline-border " >
91
+ <CTab :itemKey="1">CoreUI</CTab>
92
+ <CTab :itemKey="2">CoreUI PRO</CTab>
93
+ </CTabList >
94
+ <CTabContent >
95
+ <CTabPanel :itemKey="1">
96
+
51
97
``` js
52
98
import ' @coreui/coreui/dist/css/coreui.min.css'
99
+ ```
100
+ </CTabPanel >
101
+ <CTabPanel :itemKey="2">
53
102
54
- // CoreUI PRO version
103
+ ``` js
55
104
import ' @coreui/coreui-pro/dist/css/coreui.min.css'
56
105
```
106
+ </CTabPanel >
107
+ </CTabContent >
108
+ </CTabs >
57
109
58
110
###Bootstrap CSS files
59
111