1import Vue from 'vue'; 2import App from './App.vue'; 3import router from './router'; 4import store from './store'; 5import { dateFilter } from 'vue-date-fns'; 6import { 7 AlertPlugin, 8 BadgePlugin, 9 ButtonPlugin, 10 BVConfigPlugin, 11 CollapsePlugin, 12 FormPlugin, 13 FormCheckboxPlugin, 14 FormGroupPlugin, 15 FormInputPlugin, 16 FormRadioPlugin, 17 FormSelectPlugin, 18 LayoutPlugin, 19 LinkPlugin, 20 ListGroupPlugin, 21 ModalPlugin, 22 NavbarPlugin, 23 NavPlugin, 24 TablePlugin, 25 ToastPlugin 26} from 'bootstrap-vue'; 27import Vuelidate from 'vuelidate'; 28import i18n from './i18n'; 29 30Vue.filter('date', dateFilter); 31 32Vue.use(AlertPlugin); 33Vue.use(BadgePlugin); 34Vue.use(ButtonPlugin); 35Vue.use(BVConfigPlugin, { 36 BFormText: { textVariant: 'black' }, 37 BTable: { 38 headVariant: 'light', 39 footVariant: 'light' 40 } 41}); 42Vue.use(CollapsePlugin); 43Vue.use(FormPlugin); 44Vue.use(FormCheckboxPlugin); 45Vue.use(FormGroupPlugin); 46Vue.use(FormInputPlugin); 47Vue.use(FormRadioPlugin); 48Vue.use(FormSelectPlugin); 49Vue.use(LayoutPlugin); 50Vue.use(LayoutPlugin); 51Vue.use(LinkPlugin); 52Vue.use(ListGroupPlugin); 53Vue.use(ModalPlugin); 54Vue.use(NavbarPlugin); 55Vue.use(NavPlugin); 56Vue.use(TablePlugin); 57Vue.use(ToastPlugin); 58Vue.use(Vuelidate); 59 60new Vue({ 61 router, 62 store, 63 i18n, 64 render: h => h(App) 65}).$mount('#app'); 66