"Vue" capitalization
This commit is contained in:
parent
84ebce761e
commit
07277602de
2 changed files with 6 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import _Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|
||||||
class AxiosPlugin {
|
class AxiosPlugin {
|
||||||
public install(Vue: typeof _Vue) {
|
public install(vue: typeof Vue) {
|
||||||
// Full config: https://github.com/axios/axios#request-config
|
// Full config: https://github.com/axios/axios#request-config
|
||||||
// axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || '';
|
// axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || '';
|
||||||
// axios.defaults.headers.common['Authorization'] = AUTH_TOKEN;
|
// axios.defaults.headers.common['Authorization'] = AUTH_TOKEN;
|
||||||
|
@ -39,7 +39,7 @@ class AxiosPlugin {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
Vue.prototype.$axios = _axios;
|
vue.prototype.$axios = _axios;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import _Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|
||||||
class OVDashboardPlugin {
|
class OVDashboardPlugin {
|
||||||
public install(Vue: typeof _Vue) {
|
public install(vue: typeof Vue) {
|
||||||
Vue.prototype.$ovdashboard = this;
|
vue.prototype.$ovdashboard = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private get api_baseurl(): string {
|
private get api_baseurl(): string {
|
||||||
|
|
Loading…
Reference in a new issue