main.js 700 B

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