Next.js legacy branch n-legacy Overview
- uses more or less the same directory structure as the CRA version (
mainbranch,testingbranch, etc.) so changes from the CRA version can be merged in (but things like links and router functionality will have to be adjusted, it's easy though, see https://nextjs.org/docs/migrating/from-react-router) - major difference is that the routes and pages are defined in
src/pagesdirectory, not insrc/App.js, though that file is still kept for reference and merging purposes (but not being used) - if you are not familiar with next.js, see https://nextjs.org/docs to get started. Also see https://nextjs.org/docs/migrating/from-create-react-app and https://nextjs.org/docs/migrating/from-react-router