@nrwl/next:library
Create a React Library for an Nx workspace.
Examples
nx g lib my-lib
Usage
nx generate library ...
nx g lib ... #same
By default, Nx will search for library
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/next:library ...
Show what will be generated without writing to disk:
nx g library ... --dry-run