1 Star 2 Fork 2

silianpan / iGitHub

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 688 Bytes
一键复制 编辑 原始数据 按行查看 历史
liupan 提交于 2020-07-24 01:30 . i18n
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()
JavaScript
1
https://gitee.com/twofloor/iGitHub.git
git@gitee.com:twofloor/iGitHub.git
twofloor
iGitHub
iGitHub
master

搜索帮助