1
1
import { App } from 'vue'
2
2
import { CForm } from './CForm'
3
3
import { CFormCheck } from './CFormCheck'
4
- // import { CFormControl } from './CFormControl'
5
4
import { CFormFeedback } from './CFormFeedback'
6
5
import { CFormFloating } from './CFormFloating'
7
6
import { CFormInput } from './CFormInput'
@@ -16,28 +15,26 @@ import { CInputGroupText } from './CInputGroupText'
16
15
17
16
const CFormPlugin = {
18
17
install : ( app : App ) : void => {
19
- app . component ( CForm . name , CForm )
20
- app . component ( CFormCheck . name , CFormCheck )
21
- // app.component(CFormControl.name, CFormControl)
22
- app . component ( CFormFeedback . name , CFormFeedback )
23
- app . component ( CFormFloating . name , CFormFloating )
24
- app . component ( CFormInput . name , CFormInput )
25
- app . component ( CFormLabel . name , CFormLabel )
26
- app . component ( CFormRange . name , CFormRange )
27
- app . component ( CFormSelect . name , CFormSelect )
28
- app . component ( CFormSwitch . name , CFormSwitch )
29
- app . component ( CFormText . name , CFormText )
30
- app . component ( CFormTextarea . name , CFormTextarea )
31
- app . component ( CInputGroup . name , CInputGroup )
32
- app . component ( CInputGroupText . name , CInputGroupText )
18
+ app . component ( CForm . name as string , CForm )
19
+ app . component ( CFormCheck . name as string , CFormCheck )
20
+ app . component ( CFormFeedback . name as string , CFormFeedback )
21
+ app . component ( CFormFloating . name as string , CFormFloating )
22
+ app . component ( CFormInput . name as string , CFormInput )
23
+ app . component ( CFormLabel . name as string , CFormLabel )
24
+ app . component ( CFormRange . name as string , CFormRange )
25
+ app . component ( CFormSelect . name as string , CFormSelect )
26
+ app . component ( CFormSwitch . name as string , CFormSwitch )
27
+ app . component ( CFormText . name as string , CFormText )
28
+ app . component ( CFormTextarea . name as string , CFormTextarea )
29
+ app . component ( CInputGroup . name as string , CInputGroup )
30
+ app . component ( CInputGroupText . name as string , CInputGroupText )
33
31
} ,
34
32
}
35
33
36
34
export {
37
35
CFormPlugin ,
38
36
CForm ,
39
37
CFormCheck ,
40
- // CFormControl,
41
38
CFormFeedback ,
42
39
CFormFloating ,
43
40
CFormInput ,
0 commit comments