Install and use external npm packages in an Nx Workspace

Share this video with your friends

Send Tweet

Nx has been design to work especially well in large monorepos. One particularity (compare to other monorepo solutions) is that Nx follows the principle of having one single version of a package in the entire workspace. That said, you'll have one version of React, one version of Angular etc.. This helps to keep things consistent, facilitates code sharing as well as easier migrations. In this lesson we're looking into adding the material-ui package to our React app.