don't install $axios
This commit is contained in:
parent
ff6fbe218d
commit
6f228171f0
2 changed files with 0 additions and 3 deletions
2
ui/src/d.ts/shims-ovdashboard.d.ts
vendored
2
ui/src/d.ts/shims-ovdashboard.d.ts
vendored
|
@ -1,9 +1,7 @@
|
|||
import { OVDashboardPlugin } from "@/plugins/ovdashboard";
|
||||
import { AxiosInstance } from "axios";
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
$axios: AxiosInstance;
|
||||
$ovdashboard: OVDashboardPlugin;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,6 @@ export class OVDashboardPlugin {
|
|||
}
|
||||
|
||||
public install(vue: typeof Vue) {
|
||||
vue.prototype.$axios = this.axios;
|
||||
vue.prototype.$ovdashboard = this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue