紀錄工作經驗、相關知識,解決技術相關問題。

React, 工作雜談, 未分類, 網站優化, 資訊相關

next.js Upgrading from 13 to 14 / next 13 升級 14

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

發表迴響