Files
likeshop/uniapp/main.js
2026-07-22 11:36:12 +08:00

23 lines
522 B
JavaScript

import Vue from 'vue'
import App from './App'
import store from './store'
import { toast, copy, getImageUri } 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.prototype.$getImageUri = getImageUri
Vue.config.productionTip = false
Vue.use(uView)
App.mpType = 'app'
Vue.mixin(minxinsApp)
const app = new Vue({
...App,
store
})
app.$mount()