1 Star 0 Fork 189

王俊 / 图鸟UI-uniapp

forked from Mandy / 图鸟UI-uniapp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 560 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mandy 提交于 2023-07-08 20:44 . update
import App from './App'
import store from './store'
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
// 引入全局TuniaoUI
import TuniaoUI from 'tuniao-ui'
Vue.use(TuniaoUI)
// 引入TuniaoUI提供的vuex简写方法
let vuexStore = require('@/store/$tn.mixin.js')
Vue.mixin(vuexStore)
// 引入TuniaoUI对小程序分享的mixin封装
let mpShare = require('tuniao-ui/libs/mixin/mpShare.js')
Vue.mixin(mpShare)
const app = new Vue({
store,
...App
})
// 引入请求封装
require('./util/request/index')(app)
app.$mount()
1
https://gitee.com/wang_junnb/tuniao-ui.git
git@gitee.com:wang_junnb/tuniao-ui.git
wang_junnb
tuniao-ui
图鸟UI-uniapp
master

搜索帮助