瑶都万能墙
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.

48 lines
730 B

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 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 './config'
  9. import './utils/index.js'
  10. //组件注册
  11. import configPopup from '@/components/config/configPopup.vue'
  12. import navbar from '@/components/base/navbar.vue'
  13. import tabbar from '@/components/base/tabbar.vue'
  14. Vue.component('configPopup',configPopup)
  15. Vue.component('navbar', navbar)
  16. Vue.component('tabbar', tabbar)
  17. const app = new Vue({
  18. ...App,
  19. store,
  20. })
  21. app.$mount()
  22. // #endif
  23. // #ifdef VUE3
  24. import {
  25. createSSRApp
  26. } from 'vue'
  27. export function createApp() {
  28. const app = createSSRApp(App)
  29. return {
  30. app
  31. }
  32. }
  33. // #endif