How to enable "app" experimental feature - Next.js 13.2

Today, I installed Next.js 13.2. Open the terminal and execute the following command to initiate the installation process:

npx create-next-app@latest

Please ensure that you select the correct option in order to enable the "app" directory.

  • Would you like to use experimental app/ directory with this project? - Yes

  • Would you like to use src/ directory with this project? - No

After installation , open your code in your favorite editor.

You're all ready to discover the incredible features of Next.js 13.2!

If you'd like to try out a sample setup, head over to GitHub.

Next.js is planning to discontinue the Head API and instead enable the Metadata API. In our next exploration, we will learn how to add metadata using the Metadata API.