|
|
- import App from './App'
-
- // #ifndef VUE3
- import Vue from 'vue'
- import './uni.promisify.adaptor'
- Vue.config.productionTip = false
- App.mpType = 'app'
-
- import uView from '@/uni_modules/uview-ui'
- Vue.use(uView)
-
- Vue.prototype.VITE_GLOB_API = 'https://admin.csnaicheng.com/h5-api/'
-
- // Vue.prototype.VITE_REDIRECT_URI = 'http://tairoudj.natapp1.cc'// 开发环境
- Vue.prototype.VITE_REDIRECT_URI = 'http://mall.csnaicheng.com'//type 0
- // Vue.prototype.VITE_REDIRECT_URI = 'http://new-mall.csnaicheng.com'//type 1
-
- Vue.prototype.VITE_APPID = 'wx15be4225a7e41a1e'
-
- import jweixin from './utils/jweixin-module.js'
-
- Vue.prototype.$jweixin = jweixin
-
- const app = new Vue({
- ...App
- })
- app.$mount()
- // #endif
-
- // #ifdef VUE3
- import { createSSRApp } from 'vue'
- export function createApp() {
- const app = createSSRApp(App)
- return {
- app
- }
- }
- // #endif
|