nextjs setup code example
Example 1: make nextjs project
npx create-next-app
# or
yarn create next-app
Example 2: nextjs version 10
npm install next@latest
//upgrage from v9 to v10
npx create-next-app
# or
yarn create next-app
npm install next@latest
//upgrage from v9 to v10