main.js 614 B

1234567891011121314151617181920212223242526272829303132333435
  1. import Vue from 'vue'
  2. import App from './App'
  3. import {myRequest} from './util/api.js'
  4. Vue.prototype.$myRequest = myRequest
  5. // import wx from 'node_modules/jweixin-module/lib/index'
  6. //配置公共方法
  7. import common from './common/common.js'
  8. Vue.prototype.$noMultipleClicks = common.noMultipleClicks; // (禁止重复点击)
  9. // 引入colorui组件
  10. import cuCustom from 'colorui/components/cu-custom.vue'
  11. Vue.component('cu-custom',cuCustom)
  12. // Cookies.get('name')
  13. Vue.config.productionTip = false
  14. App.mpType = 'app'
  15. const app = new Vue({
  16. ...App
  17. })
  18. app.$mount()