球星卡微信小程序
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.

25 lines
437 B

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