products works!
2 |ui works!
2 | -------------------------------------------------------------------------------- /modules/shared/ui/src/lib/ui/ui.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { UiComponent } from './ui.component'; 3 | 4 | describe('UiComponent', () => { 5 | let component: UiComponent; 6 | let fixture: ComponentFixturehello-world works!
2 | -------------------------------------------------------------------------------- /src/app/hello-world/hello-world.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewarosario/nx-angular/9c1793ed304d80a2b717104e21399d442ecae382/src/app/hello-world/hello-world.component.scss -------------------------------------------------------------------------------- /src/app/hello-world/hello-world.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { HelloWorldComponent } from './hello-world.component'; 3 | 4 | describe('HelloWorldComponent', () => { 5 | let component: HelloWorldComponent; 6 | let fixture: ComponentFixture725 | You can activate distributed tasks executions and caching by 726 | running: 727 |
728 |nx connect-to-nx-cloud729 | 734 | What is Nx Cloud? 735 | 736 |
Here are some things you can do with Nx:
765 |# Generate UI lib 783 | nx g @nx/angular:lib ui 784 | # Add a component 785 | nx g @nx/angular:component button --project ui786 |
nx graph805 |
# see what's been affected by changes 824 | nx affected:graph 825 | # run tests for current changes 826 | nx affected:test 827 | # run e2e tests for current changes 828 | nx affected:e2e829 |
832 | Carefully crafted with 833 | 846 |
847 |