2024-08-15 11:06:13 +08:00
|
|
|
import Vue from 'vue'
|
|
|
|
import App from './App'
|
2021-08-23 17:28:32 +08:00
|
|
|
import store from './store'
|
2024-08-15 11:06:13 +08:00
|
|
|
import {toast, copy} from './utils/tools'
|
2021-08-23 17:28:32 +08:00
|
|
|
import Cache from './utils/cache'
|
|
|
|
import minxinsApp from '@/mixins/app'
|
|
|
|
import uView from "@/components/uview-ui";
|
|
|
|
Vue.prototype.$toast = toast
|
2024-08-15 11:06:13 +08:00
|
|
|
Vue.prototype.$copy = copy
|
|
|
|
Vue.prototype.$Cache = Cache
|
|
|
|
Vue.config.productionTip = false
|
2021-08-23 17:28:32 +08:00
|
|
|
|
|
|
|
|
2024-08-15 11:06:13 +08:00
|
|
|
Vue.use(uView);
|
|
|
|
App.mpType = 'app'
|
|
|
|
Vue.mixin(minxinsApp);
|
|
|
|
const app = new Vue({
|
2021-08-23 17:28:32 +08:00
|
|
|
...App,
|
2024-08-15 11:06:13 +08:00
|
|
|
store
|
|
|
|
})
|
2021-08-23 17:28:32 +08:00
|
|
|
app.$mount()
|