Generating NX Monorepo Workspace (https://nx.dev/) is straight forward here the steps:
- npx create-nx-workspace (to create empty workspace)
- yarn add -D @nrwl/angular (to add nx's angular plugin/schematics)
- nx generate worspace-schematic:application (to add Angular application to the NX Workspace)
What you will get is a NX workspace with Angular(latest version) application inside it. But what if I want to create NX workspace with Angular 8.0 application inside it. What would be the correct approach to create NX workspace with a concrete Angular version inside it?
find version of create-nx-workspace that corresponds your angular version. usually it matcher angular version
then do (this example is for angular 10)
npx [email protected] name-of-new-workspace