知识付费微信小程序
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.

34 lines
765 B

8 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 uView from '@/uni_modules/uview-ui'
  8. Vue.use(uView)
  9. Vue.prototype.VITE_GLOB_API = 'https://admin.csnaicheng.com/h5-api/'
  10. // Vue.prototype.VITE_REDIRECT_URI = 'http://tairoudj.natapp1.cc'// 开发环境
  11. Vue.prototype.VITE_REDIRECT_URI = 'http://mall.csnaicheng.com'//type 0
  12. // Vue.prototype.VITE_REDIRECT_URI = 'http://new-mall.csnaicheng.com'//type 1
  13. Vue.prototype.VITE_APPID = 'wx15be4225a7e41a1e'
  14. const app = new Vue({
  15. ...App
  16. })
  17. app.$mount()
  18. // #endif
  19. // #ifdef VUE3
  20. import { createSSRApp } from 'vue'
  21. export function createApp() {
  22. const app = createSSRApp(App)
  23. return {
  24. app
  25. }
  26. }
  27. // #endif