mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-12 05:43:03 -05:00
fix: run prettier on all file to avoid prettier issue inside PR
This commit is contained in:
@@ -6,7 +6,8 @@ import { RouterLink, RouterModule } from '@angular/router';
|
||||
standalone: true,
|
||||
imports: [RouterLink, RouterModule, ReactiveFormsModule],
|
||||
selector: 'app-root',
|
||||
template: ` <label for="userName">UserName</label>
|
||||
template: `
|
||||
<label for="userName">UserName</label>
|
||||
<input id="userName" type="text" [formControl]="userName" />
|
||||
<label for="testId">TestId</label>
|
||||
<input id="testId" type="number" [formControl]="testId" />
|
||||
@@ -16,7 +17,8 @@ import { RouterLink, RouterModule } from '@angular/router';
|
||||
Test
|
||||
</button>
|
||||
<button routerLink="/">HOME</button>
|
||||
<router-outlet></router-outlet>`,
|
||||
<router-outlet></router-outlet>
|
||||
`,
|
||||
})
|
||||
export class AppComponent {
|
||||
userName = new FormControl();
|
||||
|
||||
@@ -3,6 +3,8 @@ import { Component } from '@angular/core';
|
||||
selector: 'app-home',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
template: `<div>Home</div>`,
|
||||
template: `
|
||||
<div>Home</div>
|
||||
`,
|
||||
})
|
||||
export default class HomeComponent {}
|
||||
|
||||
Reference in New Issue
Block a user