How to use NX
AC
Andrea Caldera / October 06, 2022
1 min read
title: "How to use NX"
publishedAt: "2022-10-06"
summary: "How to use NX"
NX
Create a new Next.js application
Question
How do I create a new Next.js application?
Answer
pnpm nx g @nrwl/next:app my-new-app
Create a new Storybook library
Question
How do I create a new Storybook library?
Answer
pnpm nx generate @nrwl/react:lib test-react-lib
pnpm nx generate @nrwl/react:storybook-configuration test-storybook-config