Four methods are provided here.
依序造著以下步驟進行就好
npm i next@latest react@latest react-dom@latest eslint-config-next@latest
yarn add next@latest react@latest react-dom@latest eslint-config-next@latest
pnpm up next react react-dom eslint-config-next --latest
bun add next@latest react@latest react-dom@latest eslint-config-next@latest
Source: https://nextjs.org/docs/app/building-your-application/upgrading/version-14
發表迴響