Commit | Line | Data |
---|---|---|
66a7748d | 1 | import { createApp } from 'vue' |
9d76f5ec JB |
2 | import router from '@/router' |
3 | import { UIClient } from '@/composables' | |
4 | import App from '@/App.vue' | |
32de5a57 | 5 | |
9d76f5ec JB |
6 | const app = createApp(App) |
7 | ||
8 | fetch('/config.json') | |
9 | .then(response => response.json()) | |
10 | .then(config => { | |
11 | app.config.globalProperties.$UIClient = UIClient.getInstance(config) | |
12 | app.use(router).mount('#app') | |
13 | }) |