mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-13 14:23:02 -05:00
feat(nx): upgrade nx 20 and angular 19
This commit is contained in:
@@ -2,7 +2,6 @@ import { Component } from '@angular/core';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [RouterOutlet],
|
||||
selector: 'app-root',
|
||||
template: `
|
||||
|
||||
@@ -9,7 +9,6 @@ import { products } from './products';
|
||||
|
||||
@Component({
|
||||
selector: 'app-dashboard',
|
||||
standalone: true,
|
||||
imports: [RouterLink],
|
||||
template: `
|
||||
<h2 class="mb-1 w-full bg-gray-400 p-2 text-white">Checkout</h2>
|
||||
|
||||
@@ -4,7 +4,6 @@ import { products } from './products';
|
||||
|
||||
@Component({
|
||||
selector: 'app-dashboard',
|
||||
standalone: true,
|
||||
imports: [RouterLink],
|
||||
template: `
|
||||
<h2 class="mb-5 w-full bg-gray-400 p-2 text-white">List of Products</h2>
|
||||
|
||||
@@ -11,7 +11,6 @@ import { products } from './products';
|
||||
|
||||
@Component({
|
||||
selector: 'app-order',
|
||||
standalone: true,
|
||||
imports: [RouterLink, ReactiveFormsModule],
|
||||
template: `
|
||||
<h2 class="mb-5 w-full bg-gray-400 p-2 text-white">Order</h2>
|
||||
|
||||
@@ -3,7 +3,6 @@ import { RouterLink } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-dashboard',
|
||||
standalone: true,
|
||||
imports: [RouterLink],
|
||||
template: `
|
||||
<h2 class="mb-1 w-full bg-green-700 p-2 text-white">Payment Success</h2>
|
||||
|
||||
Reference in New Issue
Block a user