佰川加油
This commit is contained in:
46
main.js
Normal file
46
main.js
Normal file
@@ -0,0 +1,46 @@
|
||||
import Vue from 'vue'
|
||||
import App from './App'
|
||||
|
||||
import QQMapWX from 'static/qqmap-wx-jssdk.min.js'
|
||||
|
||||
import cuCustom from './colorui/components/cu-custom.vue'
|
||||
import myIcon from '@/components/my-icon/my-icon.vue'
|
||||
import encode from '@/utils/encode'
|
||||
import global from '@/api/global.js'
|
||||
|
||||
// import home from '@/pages/components/home/home.vue'
|
||||
// import user from '@/pages/components/user/user.vue'
|
||||
// import stationList from '@/pages/components/station/stationList.vue'
|
||||
// import orderList from '@/pages/components/order/orderList/orderList.vue'
|
||||
|
||||
import Empty from '@/components/Empty.vue'
|
||||
import {share} from './mixins/index.js'
|
||||
|
||||
Vue.mixin(share)
|
||||
// Vue.component('home', home)
|
||||
// Vue.component('user', user)
|
||||
Vue.component('my-icon', myIcon)
|
||||
// Vue.component('station-list', stationList)
|
||||
// Vue.component('order-list', orderList)
|
||||
Vue.component('cu-custom',cuCustom)
|
||||
Vue.component('my-empty',Empty)
|
||||
|
||||
|
||||
|
||||
let qqmapsdk = new QQMapWX({
|
||||
// key: 'IUKBZ-5MKL3-HXB3P-3OS7U-6MHX3-MYBI3'
|
||||
key:'NYEBZ-YURY3-XTU3N-YBR54-PKW6E-ROB2F'
|
||||
})
|
||||
Vue.prototype.$qqmapsdk = qqmapsdk
|
||||
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
App.mpType = 'app'
|
||||
Vue.prototype.utils = encode
|
||||
Vue.prototype.global = global
|
||||
|
||||
const app = new Vue({
|
||||
...App
|
||||
})
|
||||
app.$mount()
|
||||
Reference in New Issue
Block a user