convert to standalone Browse files master larscom committed Jun 21, 2024 1 parent 90aad0f commit 615b2f2 Showing 44 changed files with 190 additions and 280 deletions. Whitespace Ignore whitespace Split Unified angular.json angular src app app-routing.module.ts app.component.html ...
| [![feat - a154db8a81](https://img.shields.io/badge/a154db8a81-feat-blue)](https://github.com/angular/angular/commit/a154db8a81cbdfed8c3d0db1e2a5bf43aa3e0bbf) | add ng generate schematic to convert declarations to standalone (#48790) | | [![feat - 345e737daa](https://img....
Since version 15, Angular introduced Standalone Components as an easy way to build module-less applications. One of the benefits of Standalone Components is that they make Angular easier for new developers to learn and use, as they do not require an understanding of theNgModuleconcept. 👉🏽...
Figma to Angular - Convert Designs to Clean Angular Code in a Click. Zipy - AI Angular Code Generator. ai-test-gen-angular - A powerful tool that leverages OpenAI's advanced capabilities to automate the generation of unit tests for your Angular components and services. Yes Chat AI - Angular...
Any standalone component, directive or pipe does not require to be part of any ngModule. By mistake, if you try to add a standalone component to a module, Angular complains about that by throwing an error as shown below. You can also convert an existing component into a standalone compon...
| [![perf - 49fe974501](https://img.shields.io/badge/49fe974501-perf-orange)](https://github.com/angular/angular/commit/49fe974501b6f446eaedf2490f2d456a5967318f) | optimize NgModule emit for standalone components (#49837) | ### core ...
standalone:true, imports: [MatDatepickerModule],//导入 Datepicker 模块templateUrl: './app.component.html', styleUrl:'./app.component.scss', providers: [], }) export class AppComponent {} App Template <mat-calendar[style.width.px]="256"/> ...
147eee4253 feat add migration to convert standalone component routes to be lazy loaded (#56428) cb442a0ce7 fix account for parameters with union types (#57127) 166166d79e fix add alias to inject migration (#57127) b1a9d0f4de fix avoid duplicating comments when generating properties (#573...
standalone:true, imports: [StgSelectModule, StgTableModule], templateUrl:'./app.component.html', styleUrl:'./app.component.scss'}) export class AppComponent {} 两个module 分别 import from 各自的 path。 app.component.html <stg-table><stg-tr><stg-td/><stg-td/></stg-tr></stg-table>...
147eee4253 feat add migration to convert standalone component routes to be lazy loaded (#56428) cb442a0ce7 fix account for parameters with union types (#57127) 166166d79e fix add alias to inject migration (#57127) b1a9d0f4de fix avoid duplicating comments when generating properties (#573...