2020-08-18 15:09:31 +08:00
|
|
|
import Vue from 'vue'
|
|
|
|
|
import App from './App'
|
|
|
|
|
import cuCustom from './colorui/components/cu-custom.vue'
|
2020-09-25 18:18:30 +08:00
|
|
|
import serviceHotline from '@/components/service-hotline.vue'
|
2020-08-18 15:09:31 +08:00
|
|
|
import encode from '@/utils/encode'
|
2020-08-18 18:17:09 +08:00
|
|
|
import global from '@/api/global.js'
|
2020-08-18 15:09:31 +08:00
|
|
|
|
2020-10-14 11:40:08 +08:00
|
|
|
import home from '@/pages/home/home.vue'
|
|
|
|
|
Vue.component('home', home)
|
|
|
|
|
|
|
|
|
|
import setup from '@/pages/setup/setup.vue'
|
|
|
|
|
Vue.component('setup', setup)
|
2020-11-11 14:02:28 +08:00
|
|
|
import Empty from '@/components/Empty'
|
|
|
|
|
Vue.component('Empty', Empty)
|
2020-09-25 18:18:30 +08:00
|
|
|
Vue.component('cu-custom', cuCustom)
|
|
|
|
|
Vue.component('service-hotline', serviceHotline)
|
2020-08-18 15:09:31 +08:00
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
|
|
|
|
App.mpType = 'app'
|
|
|
|
|
Vue.prototype.utils = encode
|
|
|
|
|
Vue.prototype.global = global
|
|
|
|
|
|
|
|
|
|
const app = new Vue({
|
2020-09-25 18:18:30 +08:00
|
|
|
...App
|
2020-08-18 15:09:31 +08:00
|
|
|
})
|
|
|
|
|
app.$mount()
|