You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
huazhiyu/main.js

36 lines
861 B

1 year ago
import Vue from 'vue';
import App from './App';
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
1 year ago
1 year ago
// 导入并挂载全局的分享方法
import path from './static/path.js'
Vue.mixin(path)
// 弹出框
import DialogBox from './components/DialogBox/DialogBox';
1 year ago
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard);
1 year ago
Vue.config.productionTip = false
// 全局组件
Vue.component('DialogBox', DialogBox);
//mescroll
import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue"
import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue"
Vue.component('mescroll-body', MescrollBody)
Vue.component('mescroll-uni', MescrollUni)
App.mpType = 'app'
const app = new Vue({
...App
})
import {
baseUrl
} from '@/common/config.js'
Vue.prototype.baseUrl = baseUrl
require('@/common/http.interceptor.js')(app)
app.$mount()