Adding Next.js
Opened this issue · 0 comments
phongnguyend commented
https://github.com/vercel/next.js
https://www.geeksforgeeks.org/how-to-migrate-from-create-react-app-to-next-js/
https://stefaniq.com/migrating-your-react-app-to-next-js-a-comprehensive-guide/
https://incora.software/insights/convert-react-to-nextjs
Migrate ReactJs -> NextJs
npm uninstall react-scripts
npm i next
Update package.json:
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
Update tsconfig.json:
"include": ["next-env.d.ts", "src"],