main.js 651 B

123456789101112131415161718192021222324252627282930
  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. // import puppeteer from 'components/'
  10. Vue.mixin(share)
  11. Vue.config.productionTip = false
  12. App.mpType = 'app'
  13. const app = new Vue({
  14. ...App
  15. })
  16. app.$mount()
  17. // #endif
  18. // // #ifdef VUE3
  19. // import { createSSRApp } from 'vue'
  20. // import App from './App.vue'
  21. // export function createApp() {
  22. // const app = createSSRApp(App)
  23. // return {
  24. // app
  25. // }
  26. // }
  27. // // #endif