main layout
This commit is contained in:
parent
62990170de
commit
f1e6e8b8d3
38 changed files with 1353 additions and 20 deletions
15
src/globalProperties.config.ts
Normal file
15
src/globalProperties.config.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import type { AxiosInstance } from "axios";
|
||||
import type { NProgress } from "nprogress";
|
||||
import type { Router } from "vue-router";
|
||||
|
||||
declare module "@vue/runtime-core" {
|
||||
interface ComponentCustomProperties {
|
||||
$dev: boolean;
|
||||
$http: AxiosInstance;
|
||||
$progress: NProgress;
|
||||
$router: Router;
|
||||
$route: any;
|
||||
}
|
||||
}
|
||||
|
||||
export {}; // Important! See note.
|
Loading…
Add table
Add a link
Reference in a new issue