初始化仓库

This commit is contained in:
wangxiaowei
2025-04-18 17:00:38 +08:00
commit 5d4a682c16
424 changed files with 56737 additions and 0 deletions

40
main.js Normal file
View File

@ -0,0 +1,40 @@
import App from './App'
// #ifndef VUE3
import Vue from 'vue'
import store from './store'
import {
toast,
copy
} from './utils/tools'
import Cache from './utils/cache'
import minxinsApp from '@/mixins/app'
import uView from "@/components/uview-ui";
Vue.prototype.$toast = toast
Vue.prototype.$copy = copy
Vue.prototype.$Cache = Cache
Vue.config.productionTip = false
Vue.use(uView);
App.mpType = 'app'
Vue.mixin(minxinsApp);
const app = new Vue({
...App,
store
})
app.$mount()
// #endif
// #ifdef VUE3
import {
createSSRApp
} from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif