ki-frontend/src/main.js

19 lines
419 B
JavaScript
Raw Normal View History

2021-08-02 19:06:41 +02:00
// SPDX-License-Identifier: AGPL-3.0-or-later
2021-07-28 21:52:12 +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
2021-07-28 21:52:12 +02:00
app.config.globalProperties.apiUrl = window.ki.apiUrl
2021-06-07 17:41:25 +02:00
app.mount('#app')