吆喝
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user