Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nextjs create project latest

npm i next@latest react@latest react-dom@latest eslint-config-next@latest
npx create-next-app@latest
yarn create next-app
pnpm create next-app

If you want to start with a TypeScript 
project you can use the --typescript flag:

npx create-next-app@latest --typescript
yarn create next-app --typescript
pnpm create next-app --typescript
Source by nextjs.org #
 
PREVIOUS NEXT
Tagged: #nextjs #create #project #latest
ADD COMMENT
Topic
Name
2+8 =