mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
fix: run prettier on all file to avoid prettier issue inside PR
This commit is contained in:
@@ -11,14 +11,14 @@ import { RouterModule } from '@angular/router';
|
||||
path: '',
|
||||
loadChildren: () =>
|
||||
import('./dashboard/dashboard.component').then(
|
||||
(m) => m.DashboardModule
|
||||
(m) => m.DashboardModule,
|
||||
),
|
||||
},
|
||||
{
|
||||
path: 'create-user',
|
||||
loadChildren: () =>
|
||||
import('./create-user/create-user.component').then(
|
||||
(m) => m.CreateUserModule
|
||||
(m) => m.CreateUserModule,
|
||||
),
|
||||
},
|
||||
]),
|
||||
|
||||
@@ -3,13 +3,15 @@ import { RouterModule } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'lib-create-user',
|
||||
template: `Create User Form
|
||||
template: `
|
||||
Create User Form
|
||||
|
||||
<button
|
||||
routerLink=".."
|
||||
class="border bg-gray-700 rounded-lg p-2 text-white ml-5">
|
||||
class="ml-5 rounded-lg border bg-gray-700 p-2 text-white">
|
||||
Back
|
||||
</button> `,
|
||||
</button>
|
||||
`,
|
||||
})
|
||||
export class CreateUserComponent {}
|
||||
|
||||
|
||||
@@ -3,13 +3,15 @@ import { RouterModule } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'lib-dashboard',
|
||||
template: `Dashboard
|
||||
template: `
|
||||
Dashboard
|
||||
|
||||
<button
|
||||
routerLink="create-user"
|
||||
class="border bg-gray-700 rounded-lg p-2 text-white ml-10">
|
||||
class="ml-10 rounded-lg border bg-gray-700 p-2 text-white">
|
||||
Create User
|
||||
</button> `,
|
||||
</button>
|
||||
`,
|
||||
})
|
||||
export class DashboardComponent {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user