ambitious-aqua
ambitious-aqua11mo ago

routing

After i login i want to go to a page where i select stores and then go the the specific dashoboard how do i handle those route using nextjs app dir.
2 Replies
kapa.ai
kapa.ai11mo ago
Hi @dc_alexyt. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not contain specific details on handling routes in a Next.js application directory after login. However, refine provides helper components and hooks to make development easier, and you can implement protected routes with your routing framework knowledge. For more information, you can refer to the following resources: - Understanding AuthProvider (https://refine.dev/docs/tutorial/understanding-authprovider/index/) - useIsAuthenticated Hook (https://refine.dev/docs/api-reference/core/hooks/authentication/useIsAuthenticated/) - Authenticated Component (https://refine.dev/docs/api-reference/core/components/auth/authenticated/) Please note that these resources are based on refine's documentation and may not directly apply to Next.js routing. For Next.js specific routing, you may want to refer to Next.js's own documentation on routing (https://nextjs.org/docs/routing/introduction). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai11mo ago
<@398749213795680259> kapa.ai is still learning and improving, please let us know how it did by reacting below