This commit is contained in:
蔡同学
2025-08-25 11:20:35 +08:00
parent 25df08ec69
commit 6df8112e7b
251 changed files with 34346 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
import Vue from 'vue'
import App from './App'
import {httpRequest} from "./utils/request.js"
Vue.prototype.$httpRequest = httpRequest;
import config from "@/utils/config";
Vue.prototype.$config = config;
Vue.config.productionTip = false;
App.mpType = 'app'
const app = new Vue({
...App
})
// #ifdef MP-WEIXIN
import chargeDialog from 'components/charge-dialog/charge-dialog.vue'
Vue.component("charge-dialog", chargeDialog);
// #endif
app.$mount()
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif