ObservationDatabase/frontend/src/main.js

28 lines
795 B
JavaScript

import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
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";
import datePicker from "vue-bootstrap-datetimepicker";
import "pc-bootstrap4-datetimepicker/build/css/bootstrap-datetimepicker.css";
import Icon from "vue-awesome/components/Icon";
import titleMixin from './mixins/titleMixin';
Vue.config.productionTip = false;
axios.defaults.baseURL = "/api";
Vue.mixin(titleMixin);
Vue.use(VueAxios, axios);
Vue.use(BootstrapVue);
Vue.use(datePicker);
Vue.component("v-icon", Icon);
new Vue({
router,
store,
render: h => h(App)
}).$mount("#app");