*/ public function handle(): array { return [ 'blocks' => app(DashboardFactory::class)->render(), ]; } public function asController(Request $request): Response { session()->put('menu', 'dashboard'); session()->put('title', 'Dashboard'); return Inertia::render('dashboard/VIndex', $this->handle()); } }