ObservationDatabase/frontend/src/main.js

21 lines
503 B
JavaScript
Raw Normal View History

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";
import axios from 'axios';
import VueAxios from 'vue-axios';
import BootstrapVue from 'bootstrap-vue';
import Icon from 'vue-awesome/components/Icon';
2018-09-15 12:23:21 +01:00
Vue.config.productionTip = false;
axios.defaults.baseUrl = "http://localhost:8090/api";
Vue.use(VueAxios, axios);
Vue.use(BootstrapVue);
Vue.component('v-icon', Icon);
2018-09-15 12:23:21 +01:00
new Vue({
router,
store,
render: h => h(App)
}).$mount("#app");