2018-09-15 12:23:21 +01:00
|
|
|
import Vue from "vue";
|
|
|
|
import App from "./App.vue";
|
|
|
|
import router from "./router";
|
|
|
|
import store from "./store";
|
2018-09-17 12:52:06 +01:00
|
|
|
import axios from "axios";
|
|
|
|
import VueAxios from "vue-axios";
|
|
|
|
import BootstrapVue from "bootstrap-vue";
|
|
|
|
import "bootstrap/dist/css/bootstrap.css";
|
|
|
|
import "bootstrap-vue/dist/bootstrap-vue.css";
|
2018-09-25 14:21:51 +01:00
|
|
|
import datePicker from "vue-bootstrap-datetimepicker";
|
|
|
|
import "pc-bootstrap4-datetimepicker/build/css/bootstrap-datetimepicker.css";
|
2018-09-17 12:52:06 +01:00
|
|
|
import Icon from "vue-awesome/components/Icon";
|
2018-10-12 11:57:33 +01:00
|
|
|
import titleMixin from './mixins/titleMixin';
|
2018-09-15 12:23:21 +01:00
|
|
|
|
|
|
|
Vue.config.productionTip = false;
|
2018-09-26 11:36:06 +01:00
|
|
|
axios.defaults.baseURL = "/api";
|
2018-10-12 11:57:33 +01:00
|
|
|
Vue.mixin(titleMixin);
|
2018-09-17 12:00:28 +01:00
|
|
|
Vue.use(VueAxios, axios);
|
|
|
|
Vue.use(BootstrapVue);
|
2018-09-25 14:21:51 +01:00
|
|
|
Vue.use(datePicker);
|
2018-09-17 12:52:06 +01:00
|
|
|
Vue.component("v-icon", Icon);
|
2018-09-15 12:23:21 +01:00
|
|
|
|
|
|
|
new Vue({
|
|
|
|
router,
|
|
|
|
store,
|
|
|
|
render: h => h(App)
|
|
|
|
}).$mount("#app");
|