la base du site fonctionnelle
This commit is contained in:
committed by
styve Lioumba
parent
27d260829c
commit
1bf76c6c66
@@ -0,0 +1,19 @@
|
||||
import {Component, inject} from '@angular/core';
|
||||
import {ActivatedRoute} from "@angular/router";
|
||||
|
||||
@Component({
|
||||
selector: 'app-profile-detail',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './profile-detail.component.html',
|
||||
styleUrl: './profile-detail.component.scss'
|
||||
})
|
||||
export class ProfileDetailComponent {
|
||||
|
||||
private readonly route = inject(ActivatedRoute);
|
||||
protected profile = this.route.snapshot.data['profile'];
|
||||
|
||||
constructor() {
|
||||
console.log(this.profile)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user