blueberryB
Denoβ€’2y ago
blueberry

Partials in a redirect ???

Does anyone have any idea how i can redirect after login to a route with initialised partial:


Example: This a-link would take you to the dashboard and fill the partial with overview html.
<a href="/home/dashboard" f-partial="/partials/home/overview">Overview</a>


But when I log in and redirect to "/home/dashboard" is there something i can set for f-partial=???:
headers.set("Location", "/home/dashboard");
return new Response(null, {
  status: 303, 
  headers,
});
Was this page helpful?