app layout and custom login page
Answered
French Angora posted this in #help-forum
French AngoraOP
Hey, I wanted to use
I also plan to use
app/layout.tsx in Nextjs14 App router for 'default' layout (sidebar, navbar etc), but have another layout for /login page. Is there a way to do it?I also plan to use
middleware with auth.js to authentication laterAnswered by not-milo.tsx
Yup. Use route groups 
See: https://nextjs.org/docs/app/building-your-application/routing/route-groups

See: https://nextjs.org/docs/app/building-your-application/routing/route-groups
1 Reply
Yup. Use route groups 
See: https://nextjs.org/docs/app/building-your-application/routing/route-groups

See: https://nextjs.org/docs/app/building-your-application/routing/route-groups
Answer