ki-frontend/src/main.js

22 lines
425 B
JavaScript
Raw Normal View History

2021-06-07 17:41:25 +02:00
import { createApp } from 'vue/dist/vue.esm-bundler';
2021-05-31 16:14:28 +02:00
import App from './App.vue'
import router from './router'
2021-07-12 18:32:17 +02:00
import axios from 'axios'
2021-06-07 17:41:25 +02:00
import 'bootstrap/dist/css/bootstrap.min.css'
import './assets/custom.css'
2021-06-07 17:41:25 +02:00
const app = createApp(App)
app.use(router)
2021-07-12 18:32:17 +02:00
app.config.globalProperties.axios=axios
app.config.globalProperties.apiUrl= (process.env.VUE_APP_API_URL ? process.env.VUE_APP_API_URL : '')
2021-06-07 17:41:25 +02:00
app.mount('#app')