景徳镇旅游微信小程序
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.

47 lines
827 B

10 months ago
3 weeks ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 months ago
10 months ago
  1. import App from './App'
  2. // #ifndef VUE3
  3. import Vue from 'vue'
  4. import './uni.promisify.adaptor'
  5. Vue.config.productionTip = false
  6. App.mpType = 'app'
  7. import store from '@/store/store'
  8. import configList from '@/mixins/configList'
  9. Vue.mixin(configList)
  10. import './config'
  11. import './utils/index.js'
  12. //组件注册
  13. import configPopup from '@/components/config/configPopup.vue'
  14. import navbar from '@/components/base/navbar.vue'
  15. import tabber from '@/components/base/tabbar.vue'
  16. Vue.component('configPopup',configPopup)
  17. Vue.component('navbar',navbar)
  18. Vue.component('tabber',tabber)
  19. import 'interceptor/interceptor.js'
  20. const app = new Vue({
  21. ...App,
  22. store,
  23. })
  24. app.$mount()
  25. // #endif
  26. // #ifdef VUE3
  27. import {
  28. createSSRApp
  29. } from 'vue'
  30. export function createApp() {
  31. const app = createSSRApp(App)
  32. return {
  33. app
  34. }
  35. }
  36. // #endif