Skip to content

Instantly share code, notes, and snippets.

@DonBrowny
Created February 23, 2024 14:41
Show Gist options
  • Save DonBrowny/8d4d9dc7570214722b24ad4372a0b453 to your computer and use it in GitHub Desktop.
Save DonBrowny/8d4d9dc7570214722b24ad4372a0b453 to your computer and use it in GitHub Desktop.
Getting Started with Next JS

Prerequisites

  1. Node https://nodejs.org/en/download
  2. Yarn https://classic.yarnpkg.com/lang/en/docs/install
  3. git https://docs.github.com/en/get-started/getting-started-with-git/set-up-git

Installation

  1. Createa Nextjs app via the command yarn create next-app
  2. Enter the below infomation in the prompt message
What is your project named?  my-next-app
Would you like to use TypeScript?  Yes
Would you like to use ESLint?  Yes
Would you like to use Tailwind CSS?  No
Would you like to use `src/` directory?  Yes
Would you like to use App Router? (recommended)  No
Would you like to customize the default import alias (@/*)?  No

This will create a Next JS app named my-next-app

Chapter 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment