NextJS 12.3 now provides different way to create route (app directory) and layout.
old pages directory will be supported for backward and legacy purpose.
As that will be the new way, we should support / add that for new / fresh setup
Reference - https://nextjs.org/blog/next-12-3#new-router-and-layouts-update
NextJS 12.3 now provides different way to create route (
appdirectory) and layout.old
pagesdirectory will be supported for backward and legacy purpose.As that will be the new way, we should support / add that for new / fresh setup
Reference - https://nextjs.org/blog/next-12-3#new-router-and-layouts-update