Skip to content

Commit 85b5f57

Browse files
committed
fix: make stub components proper Angular standalone components
1 parent ef4c7c1 commit 85b5f57

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
export class BookList {
2-
title = 'Book List';
3-
}
1+
import { Component } from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-book-list',
5+
standalone: true,
6+
template: '<p>Book List</p>',
7+
})
8+
export class BookList {}
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
export class UserDetail {
2-
name = 'User Detail';
3-
}
1+
import { Component } from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-user-detail',
5+
standalone: true,
6+
template: '<p>User Detail</p>',
7+
})
8+
export class UserDetail {}

0 commit comments

Comments
 (0)