main.js 612 B

1234567891011121314151617181920212223242526272829
  1. // #ifndef VUE3
  2. import Vue from 'vue'
  3. import App from './App'
  4. import http from 'components/request.js'
  5. Vue.prototype.$http = http
  6. import https from 'components/requesttoken111.js'
  7. Vue.prototype.$https = https
  8. import share from 'components/share.js'
  9. Vue.mixin(share)
  10. Vue.config.productionTip = false
  11. App.mpType = 'app'
  12. const app = new Vue({
  13. ...App
  14. })
  15. app.$mount()
  16. // #endif
  17. // // #ifdef VUE3
  18. // import { createSSRApp } from 'vue'
  19. // import App from './App.vue'
  20. // export function createApp() {
  21. // const app = createSSRApp(App)
  22. // return {
  23. // app
  24. // }
  25. // }
  26. // // #endif