// The Vue build version to load with the `import` command
|
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
import Vue from 'vue'
|
import App from './App'
|
import router from './router'
|
|
|
Vue.config.productionTip = false
|
|
|
|
import './assets/js/rem.js'
|
import '@/style/base.css'
|
import '@/style/iconfont.css'
|
|
import kefu from './assets/js/kefu/kefu.js'
|
Vue.use(kefu);
|
|
import echarts from 'echarts'
|
Vue.prototype.$echarts = echarts
|
|
import Vant from 'vant';
|
import 'vant/lib/index.css';
|
Vue.use(Vant);
|
|
import util from './libs/util.js';
|
Vue.prototype.$util = util;
|
|
import store from './store/index.js'
|
Vue.prototype.store = store;
|
|
import axios from 'axios'
|
Vue.prototype.$axios = axios
|
Vue.prototype.$axios.defaults.baseURL = process.env.NODE_ENV === 'development' ? '/api' : '/';
|
|
|
/* eslint-disable no-new */
|
new Vue({
|
el: '#app',
|
router,
|
components: { App },
|
template: '<App/>'
|
})
|