bootstrap.ts 1.87 KB
Newer Older
tobinski's avatar
tobinski committed
1
2
3
import vue from 'vue'
import '@/assets/bootstrap.scss'
import 'bootstrap/dist/css/bootstrap.css'
Tobinsk's avatar
Tobinsk committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import {
    FormPlugin,
    InputGroupPlugin,
    FormInputPlugin,
    ToastPlugin,
    PaginationPlugin,
    ListGroupPlugin,
    FormSelectPlugin,
    FormGroupPlugin,
    SpinnerPlugin,
    TooltipPlugin,
    BadgePlugin,
    FormCheckboxPlugin,
    OverlayPlugin,
    LayoutPlugin,
    TablePlugin,
    ButtonPlugin,
    ButtonGroupPlugin,
    CardPlugin,
Tobinsk's avatar
Tobinsk committed
23
24
    NavbarPlugin,
    AlertPlugin
Tobinsk's avatar
Tobinsk committed
25
} from 'bootstrap-vue'
tobinski's avatar
tobinski committed
26

Tobinsk's avatar
Tobinsk committed
27
// load icons
Tobinsk's avatar
Tobinsk committed
28
import { BIcon,BIconBox, BIconSearch, BIconShuffle, BIconFilter, BIconPower, BIconBoxArrowUpRight, BIconPencil, BIconArrowBarUp,BIconTrash,BIconX, BIconCheck, BIconGear, BIconPlus, BIconCalculator, BIconPlay } from 'bootstrap-vue'
Tobinsk's avatar
Tobinsk committed
29
30
31
32
33
34
35
36
37
38
39
40
41
// icons
vue.component('BIcon', BIcon)
vue.component('BIconSearch', BIconSearch)
vue.component('BIconShuffle', BIconShuffle)
vue.component('BIconFilter', BIconFilter)
vue.component('BIconPower', BIconPower)
vue.component('BIconBoxArrowUpRight', BIconBoxArrowUpRight)
vue.component('BIconPencil', BIconPencil)
vue.component('BIconArrowBarUp', BIconArrowBarUp)
vue.component('BIconTrash', BIconTrash)
vue.component('BIconX', BIconX)
vue.component('BIconCheck', BIconCheck)
vue.component('BIconGear', BIconGear)
Tobinsk's avatar
Tobinsk committed
42
43
44
vue.component('BIconPlay', BIconPlay)
vue.component('BIconCalculator', BIconCalculator)
vue.component('BIconPlus', BIconPlus)
Tobinsk's avatar
Tobinsk committed
45
vue.component('BIconBox', BIconBox)
Tobinsk's avatar
Tobinsk committed
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// components
vue.use(FormPlugin)
vue.use(FormGroupPlugin)
vue.use(SpinnerPlugin)
vue.use(InputGroupPlugin)
vue.use(FormInputPlugin)
vue.use(TablePlugin)
vue.use(ButtonPlugin)
vue.use(ButtonGroupPlugin)
vue.use(CardPlugin)
vue.use(NavbarPlugin)
vue.use(ToastPlugin)
vue.use(PaginationPlugin)
vue.use(ListGroupPlugin)
vue.use(TooltipPlugin)
vue.use(BadgePlugin)
vue.use(FormSelectPlugin)
vue.use(FormCheckboxPlugin)
vue.use(OverlayPlugin)
vue.use(LayoutPlugin)
Tobinsk's avatar
Tobinsk committed
66
vue.use(AlertPlugin)