jiangchengfeiyi-xiaochengxu/main.js
2025-04-05 16:12:09 +08:00

31 lines
427 B
JavaScript

import App from './App'
import zpMixins from '@/uni_modules/zp-mixins/index.js';
// #ifndef VUE3
import Vue from 'vue'
App.mpType = 'app'
Vue.use(zpMixins);
Vue.config.productionTip = false
const app = new Vue({
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
app.mixin(zpMixins);
return {
app
};
}
// #endif