blob: e32a56bec6bfecbfd1caf12bf2ab16d146f45d74 [file] [log] [blame]
Derick Montaguefded0d12019-12-11 06:16:40 -06001import Vue from 'vue';
2import App from './App.vue';
3import router from './router';
4import store from './store';
5import { dateFilter } from 'vue-date-fns';
Derick Montaguea2988f42020-01-17 13:46:30 -06006import {
Derick Montague676f2fc2019-12-23 20:53:49 -06007 AlertPlugin,
Dixsie Wolmers97d86b32019-12-02 05:07:57 -06008 BadgePlugin,
Derick Montaguea2988f42020-01-17 13:46:30 -06009 ButtonPlugin,
Yoshie Muranaka4b0fc1d2020-01-06 07:36:16 -080010 BVConfigPlugin,
Derick Montaguea2988f42020-01-17 13:46:30 -060011 CollapsePlugin,
Derick Montaguee080a1a2019-12-04 16:30:08 -060012 FormPlugin,
Dixsie Wolmers97d86b32019-12-02 05:07:57 -060013 FormCheckboxPlugin,
Derick Montaguee080a1a2019-12-04 16:30:08 -060014 FormGroupPlugin,
15 FormInputPlugin,
Yoshie Muranaka463a5702019-12-04 09:09:36 -080016 FormRadioPlugin,
17 FormSelectPlugin,
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060018 LayoutPlugin,
Derick Montague42c19892020-01-17 16:10:34 -060019 LinkPlugin,
Dixsie Wolmers97d86b32019-12-02 05:07:57 -060020 ListGroupPlugin,
Derick Montague42c19892020-01-17 16:10:34 -060021 ModalPlugin,
22 NavbarPlugin,
23 NavPlugin,
24 TablePlugin
Derick Montaguefded0d12019-12-11 06:16:40 -060025} from 'bootstrap-vue';
Yoshie Muranaka4b0fc1d2020-01-06 07:36:16 -080026import Vuelidate from 'vuelidate';
Derick Montaguea2988f42020-01-17 13:46:30 -060027
Derick Montaguefded0d12019-12-11 06:16:40 -060028Vue.filter('date', dateFilter);
Dixsie Wolmers97d86b32019-12-02 05:07:57 -060029
Derick Montague676f2fc2019-12-23 20:53:49 -060030Vue.use(AlertPlugin);
Dixsie Wolmers97d86b32019-12-02 05:07:57 -060031Vue.use(BadgePlugin);
Derick Montaguea2988f42020-01-17 13:46:30 -060032Vue.use(ButtonPlugin);
Yoshie Muranaka4b0fc1d2020-01-06 07:36:16 -080033Vue.use(BVConfigPlugin, {
34 BFormText: { textVariant: 'black' },
35 BTable: {
36 headVariant: 'light',
37 footVariant: 'light'
38 }
39});
Derick Montaguea2988f42020-01-17 13:46:30 -060040Vue.use(CollapsePlugin);
Derick Montaguee080a1a2019-12-04 16:30:08 -060041Vue.use(FormPlugin);
Dixsie Wolmers97d86b32019-12-02 05:07:57 -060042Vue.use(FormCheckboxPlugin);
Derick Montaguee080a1a2019-12-04 16:30:08 -060043Vue.use(FormGroupPlugin);
44Vue.use(FormInputPlugin);
Yoshie Muranaka463a5702019-12-04 09:09:36 -080045Vue.use(FormRadioPlugin);
46Vue.use(FormSelectPlugin);
Derick Montaguee080a1a2019-12-04 16:30:08 -060047Vue.use(LayoutPlugin);
Dixsie Wolmers97d86b32019-12-02 05:07:57 -060048Vue.use(LayoutPlugin);
Derick Montaguea2988f42020-01-17 13:46:30 -060049Vue.use(LinkPlugin);
Dixsie Wolmers97d86b32019-12-02 05:07:57 -060050Vue.use(ListGroupPlugin);
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060051Vue.use(ModalPlugin);
Derick Montague42c19892020-01-17 16:10:34 -060052Vue.use(NavbarPlugin);
53Vue.use(NavPlugin);
54Vue.use(TablePlugin);
Yoshie Muranaka4b0fc1d2020-01-06 07:36:16 -080055Vue.use(Vuelidate);
Derick Montaguea2988f42020-01-17 13:46:30 -060056
Derick Montaguea2988f42020-01-17 13:46:30 -060057new Vue({
58 router,
59 store,
60 render: h => h(App)
Derick Montaguefded0d12019-12-11 06:16:40 -060061}).$mount('#app');