Skip to main content

Setup

To create a project

Run

npx create-next-app projectname

Start development server

After the installation is complete:

Run

npm run dev
or
yarn dev
or
pnpm dev

to start the development server on http://localhost:3000

You can also choose a port by running

npm run start -- --port 8080

You should then see the project running on port 8080.

Get started by editing index.js file !!!