Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
main.js 571 Bytes
Copy Edit Raw Blame History
Fascinating authored 2023-12-29 01:07 . 第二十二次
import App from './App'
import Intercepter from './utils/interceptor'
import uView from "./uni_modules/uview-ui";
import {request} from '@/request.js'
import {nowDate} from './utils/dataUtils'
// #ifndef VUE3
import Vue from 'vue'
Vue.use(uView);
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$request = request
Vue.prototype.$nowDate = nowDate
const app = new Vue({
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化