ki-frontend/src/main.js

20 lines
421 B
JavaScript
Raw Normal View History

2021-09-19 12:55:33 +02:00
// SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
//
2021-08-02 19:06:41 +02:00
// SPDX-License-Identifier: AGPL-3.0-or-later
2021-09-19 12:55:33 +02:00
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-09-19 17:30:37 +02:00
import store from '@/store'
2021-05-31 16:14:28 +02:00
2021-08-14 14:43:57 +02:00
import './assets/global.scss'
2021-06-07 17:41:25 +02:00
const app = createApp(App)
app.use(router)
2021-09-19 17:30:37 +02:00
app.use(store)
2021-06-07 17:41:25 +02:00
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')