Devs keep asking us whether Nx is a viable alternative to the Angular CLI when it comes to Angular development. So...we did a deep dive to explore similarities and differences.
=== Links ===
Nx and the Angular CLI: https://nx.dev/concepts/more-concepts...
Migrating from the Angular CLI: https://nx.dev/recipes/angular/migrat...
Speed up your Angular serve and build times with Module Federation and Nx: • Speed up your Angular serve and build...
Easy Package Scaffolding: • Scaffold new Pkgs in a PNPM Workspace...
=== Chapters ===
0:00 Intro
0:57 Setup a new project
3:39 Exploring the project structure
4:42 Building the app
6:43 Nx Caching
7:39 Running tests
8:51 Running linting
9:59 Running e2e tests
13:12 Where Nx has more..
14:44 More Generators (Tailwind, Storybook, Component testing,...)
16:38 Nx Console Extension - Visual Schematics Runner
18:15 Compatibility layer with Angular Devkit
19:58 Custom Builders (Executors)
21:14 Nx Migrate vs Ng Update
25:27 Modularizing the codebase with local libraries
28:55 Visualizing the workspace (nx graph)
30:20 Start simple then expand to a monorepo
32:19 Add Module Federation support
34:31 Extending Nx to match YOUR needs
35:25 Speed up CI with Remote Caching
39:15 Speed up CI: Distributing tasks across multiple machines
40:24 Summary & Wrap Up