|
@@ -30,6 +30,10 @@ if (process.env.NODE_ENV === 'production') {
|
|
mockXHR()
|
|
mockXHR()
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+import axios from 'axios'
|
|
|
|
+
|
|
|
|
+Vue.prototype.$http = axios
|
|
|
|
+
|
|
// set ElementUI lang to EN
|
|
// set ElementUI lang to EN
|
|
Vue.use(ElementUI, { locale })
|
|
Vue.use(ElementUI, { locale })
|
|
|
|
|