Skip to main content

NX Shared Library

Prerequisites

Install @nrwl/node plugin,

On Windows run as Administrator

yarn add -D @nrwl/node

Create Library

Create a shared library

nx g lib integrations --directory=shared/data-access
note

Note that / is changed to - when creating the project.

tip

Refer to workspace.json to find the correct names of projects