mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 03:32:15 +01:00
add support for extension vite plugin loading, add vue setup hook for extensions
This commit is contained in:
2
resources/js/types/global.d.ts
vendored
2
resources/js/types/global.d.ts
vendored
@@ -2,11 +2,13 @@ import { PageProps as InertiaPageProps } from '@inertiajs/core';
|
||||
import { AxiosInstance } from 'axios';
|
||||
import ziggyRoute from 'ziggy-js';
|
||||
import { PageProps as AppPageProps } from './';
|
||||
import type { App } from 'vue';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
axios: AxiosInstance;
|
||||
initialDataLoaded: boolean;
|
||||
vueAppSetupHook?: (app: App) => void;
|
||||
}
|
||||
|
||||
let route: typeof ziggyRoute;
|
||||
|
||||
Reference in New Issue
Block a user