2023-12-25 17:56:30 +08:00
|
|
|
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)
|
|
|
|
|
2024-04-20 14:57:39 +08:00
|
|
|
import {
|
|
|
|
wxshare
|
|
|
|
} from "util/jwexin.js"
|
|
|
|
Vue.prototype.$wxshare = wxshare;
|
|
|
|
|
2023-12-25 17:56:30 +08:00
|
|
|
const app = new Vue({
|
|
|
|
store,
|
|
|
|
...App
|
|
|
|
})
|
|
|
|
|
|
|
|
app.$mount()
|