Done
linter / quality (push) Has been cancelled
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled

This commit is contained in:
2026-07-04 23:09:00 +10:00
parent 0485b85a59
commit 439139a057
50 changed files with 2405 additions and 548 deletions
+12
View File
@@ -0,0 +1,12 @@
import { usePage as useInertiaPage } from '@inertiajs/vue3';
import type { SharedData } from '@/types/types';
/**
* Typed drop-in replacement for Inertia's usePage().
* Usage: import { usePage } from '@/composables/usePage';
* const page = usePage();
* page.props.auth.user?.name // fully typed
*/
export function usePage() {
return useInertiaPage<SharedData>();
}