likeshop/uniapp/main.js

22 lines
476 B
JavaScript
Raw Normal View History

2024-08-15 11:06:13 +08:00
import Vue from 'vue'
import App from './App'
import store from './store'
2024-08-15 11:06:13 +08:00
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
2024-08-15 11:06:13 +08:00
Vue.prototype.$copy = copy
Vue.prototype.$Cache = Cache
Vue.config.productionTip = false
2024-08-15 11:06:13 +08:00
Vue.use(uView);
App.mpType = 'app'
Vue.mixin(minxinsApp);
const app = new Vue({
...App,
2024-08-15 11:06:13 +08:00
store
})
app.$mount()