123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- import Vue from 'vue'
- import App from './App'
- import store from '@/store'
- import { logger, valid, message, common, cache, init, router, event, wxLog, util } from '@/utils'
- import service from './service'
- import mixin from '@/mixin/base'
- import page from '@/components/page'
- import CmButton from '@/components/cm-button'
- import uView from '@/uni_modules/uview-ui'
- App.mpType = 'app'
- Vue.config.productionTip = false
- Vue.prototype.$store = store
- Vue.prototype.$log = logger.log
- Vue.prototype.$valid = valid
- Vue.prototype.$cache = cache
- Vue.prototype.$message = message
- Vue.prototype.$common = common
- Vue.prototype.$router = router
- Vue.prototype.$service = service
- Vue.prototype.$event = event
- Vue.prototype.$wxLog = wxLog
- Vue.prototype.$util = util
- Vue.use(uView)
- Vue.mixin(mixin)
- Vue.component('page', page)
- Vue.component('CmButton', CmButton)
- init()
- const app = new Vue({
- ...App,
- store
- })
- app.$mount()
|