Intro to Nx

Nx is a smart, fast and extensible build system with first class monorepo support and powerful integrations.

Philosophy

Nx has a similar design philosophy to Visual Studio Code. VSCode is a powerful text editor, and you can be very productive with it even if you don't install any extensions. The ecosystem of VSCode's extensions though is what can really level up your productivity.

Nx is similar. The core of Nx is generic, simple, and unobtrusive. Nx plugins, although very useful for many projects, are completely optional.

Most examples on this site use Nx plugins (integrated repo style). It's just easier to demonstrate many features Nx offers when Nx generates all the boilerplate. However, the vast majority of the features will work the same way in a workspace with no plugins (package-based repo).

Here's a deep dive on Integrated Repos vs. Package-Based Repos

Getting Started

If you want to use Nx plugins to really level up your productivity, pick one of the following tutorials: