mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
feat(nx): upgrade nx 20 and angular 19
This commit is contained in:
@@ -6,7 +6,6 @@ import { AppService } from './app.service';
|
||||
import { TopicType } from './localDB.service';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: 'button-delete-topic',
|
||||
imports: [AsyncPipe],
|
||||
template: `
|
||||
@@ -36,7 +35,6 @@ export class ButtonDeleteComponent {
|
||||
}
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [AsyncPipe, NgFor, ButtonDeleteComponent],
|
||||
selector: 'app-root',
|
||||
template: `
|
||||
|
||||
@@ -18,7 +18,6 @@ import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
||||
</div>
|
||||
`,
|
||||
imports: [MatDialogModule, MatButtonModule, NgFor],
|
||||
standalone: true,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class TopicModalComponent {
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
@use '@angular/material' as mat;
|
||||
|
||||
@include mat.core();
|
||||
@include mat.elevation-classes();
|
||||
@include mat.app-background();
|
||||
|
||||
$theme-primary: mat.m2-define-palette(mat.$m2-indigo-palette);
|
||||
$theme-accent: mat.m2-define-palette(mat.$m2-pink-palette, A200, A100, A400);
|
||||
|
||||
@@ -6,7 +6,6 @@ import { FormsModule } from '@angular/forms';
|
||||
import { Subject, concatMap, map } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [CommonModule, FormsModule],
|
||||
selector: 'app-root',
|
||||
template: `
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [],
|
||||
selector: 'app-root',
|
||||
template: `
|
||||
|
||||
Reference in New Issue
Block a user