Adam L Barrett PRO
Adam L Barrett is a JavaScript and Front-End consultant, a contributor to open source, and avid bike-shedder.
Adam L Barrett
"BigAB"
> npx create-nx-workspace
> nx generate
> nx serve
> nx build
> nx test
> nx e2e
8
Just
npx create-nx-workspace myorg
npx create-nx-workspace myorg
npx: installed 180 in 7.764s
? What to create in the new workspace
angular [a workspace with a single Angular application]
angular-nest [a workspace with a full stack application (Angular + Nest)]
❯ react [a workspace with a single React application]
react-express [a workspace with a full stack application (React + Express)
]
next.js [a workspace with a single Next.js application]
(Move up and down to reveal more choices)
...
cd myorg
> nx g @nrwl/next:app uberfor*
> nx g @nrwl/next:page dashboard --project=uberfor*
> nx g @nrwl/next:library shared-components
> nx g @nrwl/next:component CodeBlock --project=shared-components
> nx g @nrwl/next:component ResourceList --project=shared-components
> nx g @nrwl/storybook:configuration shared-components
> nx serve @nrwl/next uberfor*
nx test
nx build
Computation Caching
nrwl.io
By Adam L Barrett
Nx is a next-generation suite of build tools. Next.js is a state-of-the-art framework for building web applications. Together they bring order to the chaos of building multiple web applications across many teams.
Adam L Barrett is a JavaScript and Front-End consultant, a contributor to open source, and avid bike-shedder.