The first step to getting started with Nx is to create a workspace.
In this lesson, we're going to walk step by step through generating a new Nx workspace using npx create-nx-workspace
command. Next, we'll choose a preset during the Nx setup process which allows us to also generate a brand new Next.js application within our Nx workspace as well. Finally, we'll learn about what got generated for us and the anatomy of an Nx workspace.
Prefer to read along as well? Here's the accompanying article.
npx create-nx-workspace@latest --preset=next.
https://nx.dev/packages/next#setting-up-next.js