don't install $axios

This commit is contained in:
Jörn-Michael Miehe 2022-09-16 22:58:03 +00:00
parent ff6fbe218d
commit 6f228171f0
2 changed files with 0 additions and 3 deletions

View file

@ -1,9 +1,7 @@
import { OVDashboardPlugin } from "@/plugins/ovdashboard"; import { OVDashboardPlugin } from "@/plugins/ovdashboard";
import { AxiosInstance } from "axios";
declare module 'vue/types/vue' { declare module 'vue/types/vue' {
interface Vue { interface Vue {
$axios: AxiosInstance;
$ovdashboard: OVDashboardPlugin; $ovdashboard: OVDashboardPlugin;
} }
} }

View file

@ -20,7 +20,6 @@ export class OVDashboardPlugin {
} }
public install(vue: typeof Vue) { public install(vue: typeof Vue) {
vue.prototype.$axios = this.axios;
vue.prototype.$ovdashboard = this; vue.prototype.$ovdashboard = this;
} }