特易招,招聘小程序
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
863 B

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