28 lines
670 B
JavaScript
28 lines
670 B
JavaScript
import App from './App'
|
|
import store from './store'
|
|
import config from '@/config';
|
|
const { local, mapkey, imgSrc} = config;
|
|
Vue.prototype.$local = local;
|
|
Vue.prototype.$imgSrc = imgSrc;
|
|
// 配置公共方法
|
|
import util from './common/util.js';
|
|
Vue.prototype.$util = util;
|
|
|
|
import Vue from 'vue'
|
|
Vue.config.productionTip = false
|
|
App.mpType = 'app'
|
|
|
|
import uniPop from './uni_modules/uni-popup/components/uni-popup/uni-popup'
|
|
import liuStepBar from './uni_modules/liu-step-bar/components/liu-step-bar/liu-step-bar'
|
|
|
|
Vue.component('uni-pop', uniPop)
|
|
Vue.component('liu-step-bar', liuStepBar)
|
|
|
|
|
|
const app = new Vue({
|
|
store,
|
|
...App
|
|
})
|
|
app.$mount()
|
|
|