-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.js
47 lines (37 loc) · 853 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { createApp } from 'vue'
import router from './router'
import store from '@/state/store'
import App from '@/App.vue'
import AppLayout from '@/layouts/AppLayout.vue'
/**
* Css ( +TailwindCss )
*/
import '@/assets/scss/index.scss'
import 'mosha-vue-toastify/dist/style.css'
import 'nprogress/nprogress.css';
/**
* Plugins
*/
import KProgress from 'k-progress-v3';
import moshaToast from 'mosha-vue-toastify';
/**
* Mixins
*/
import titleMixin from '@/common/mixins/titleMixin'
/**
* Setups
*/
import setupInterceptors from '@/services/setupInterceptors';
setupInterceptors({ router, store });
/**
* Vue Application
* Use Many Plugins
*/
createApp(App)
.mixin(titleMixin)
.use(store)
.use(router)
.use(moshaToast)
.component('k-progress', KProgress)
.component('AppLayout', AppLayout)
.mount('#app')