main.js 441 B

123456789101112131415161718192021
  1. import Vue from 'vue'
  2. import App from './App'
  3. // 此处为引用自定义顶部
  4. import cuCustom from './colorui/components/cu-custom.vue'
  5. Vue.component('cu-custom',cuCustom);
  6. import TnCustom from './components/TnCustom/TnCustom.vue'
  7. Vue.component('tn-custom', TnCustom)
  8. // 引入:uView-UI
  9. import uView from 'uview-ui';
  10. Vue.use(uView);
  11. Vue.config.productionTip = false
  12. App.mpType = 'app'
  13. const app = new Vue({
  14. ...App
  15. })
  16. app.$mount()