import 'babel-polyfill'
import Vue from 'vue'
import vRegion from 'v-region';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'font-awesome/css/font-awesome.css'
import VueRouter from 'vue-router'
import routers from './routers'
import apiFetch from './apiFetch'
import App from './App'
import Vuex from 'vuex'
import store from './vuex/store'
import axios from 'axios'
Vue.prototype.$ajax = axios
Vue.prototype.$apiFetch = apiFetch
Vue.use(VueRouter)
Vue.use(Vuex)
Vue.use(ElementUI)
Vue.use(vRegion);
const router = new VueRouter({
mode: 'history',
routes: routers
})
router.before