InstallationNext.js
Next.js
Install and configure Next.js.
1
Create a new project
Terminal
npx create-next-app@latest my-app
2
After the above command, it is mandatory to select these values in the prompts
Would you like to use TypeScript? Yes
Would you like to use Tailwind CSS? Yes
Would you like to customize the default import alias (@/*)? Yes
What import alias would you like configured? @/*
3
Start the app
Terminal
cd my-app && npm run dev