代码拉取完成,页面将自动刷新
import Vue from 'vue'
import App from './App'
import MinRequest from './utils/MinRequest'
import minApi from './api/api'
import MinCache from './utils/MinCache'
import store from './store'
import _ from 'lodash'
import NP from 'number-precision'
import uView from '@/uview'
// highlight.js代码高亮插件
import Highlight from '@/utils/highlight'
import i18n from './i18n'
Vue.use(uView)
Vue.use(MinRequest)
Vue.use(MinCache)
Vue.use(Highlight)
Vue.prototype.$store = store
Vue.prototype.$_ = _
Vue.prototype.$NP = NP
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype._i18n = i18n
const app = new Vue({
store,
minApi,
i18n,
...App
})
app.$mount()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。