fix: generator

This commit is contained in:
thomas
2024-05-11 21:41:13 +02:00
parent 001d35731a
commit 4eb6f64f16
46 changed files with 63 additions and 72 deletions

View File

@@ -0,0 +1,27 @@
import {
UserComponent,
type User,
} from '@angular-challenges/static-dynamic-import/users';
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
@Component({
standalone: true,
imports: [UserComponent, RouterOutlet],
selector: 'app-root',
template: `
Author:
<sdi-user [user]="author" />
<router-outlet />
`,
host: {
class: 'flex flex-col',
},
})
export class AppComponent {
author: User = {
name: 'Thomas',
lastName: 'Laforge',
country: 'France',
};
}