DEV Community

Cover image for Create A Project With Next.Js
Hòa Nguyễn Coder
Hòa Nguyễn Coder

Posted on

4

Create A Project With Next.Js

Now I will learn about Next.js , take notes on what I have experienced through it and what I can do. To be here sometimes we may need it. Currently I am using the latest version of Next.JS



npx create-next-app@latest


Enter fullscreen mode Exit fullscreen mode

It will appear a copy, if you like which one, select yes, and for me, select yes all ::)



What is your project named? my-app
Would you like to use TypeScript? No / Yes
Would you like to use ESLint? No / Yes
Would you like to use Tailwind CSS? No / Yes
Would you like to use `src/` directory? No / Yes
Would you like to use App Router? (recommended) No / Yes
Would you like to customize the default import alias? No / Yes
What import alias would you like configured? @/*


Enter fullscreen mode Exit fullscreen mode

Create A Project With Next.Js - hoanguyenit.com
We will get a project like this:

Create A Project With Next.Js - hoanguyenit.com

Create A Project With Next.Js - hoanguyenit.com
So we have a simple project. To start, just run the following command:



npm run dev


Enter fullscreen mode Exit fullscreen mode

Create A Project With Next.Js - hoanguyenit.com
See you again in the following article:
The article : Create A Project With Next.Js

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay