wx电子地图
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.js 516B

1234567891011121314151617181920212223242526
  1. import App from './App'
  2. import { Request } from "./assets/js/request"
  3. import store from "./store/index"
  4. // #ifndef VUE3
  5. import Vue from 'vue'
  6. import uView from '@/uni_modules/uview-ui'
  7. Vue.use(uView)
  8. Vue.config.productionTip = false
  9. Vue.prototype.$Request = Request
  10. App.mpType = 'app'
  11. const app = new Vue({
  12. store,
  13. ...App
  14. })
  15. app.$mount()
  16. // #endif
  17. // #ifdef VUE3
  18. import { createSSRApp } from 'vue'
  19. export function createApp() {
  20. const app = createSSRApp(App)
  21. return {
  22. app
  23. }
  24. }
  25. // #endif