Skip to content

Commit 105eb0e

Browse files
add missing step (angular-vietnam#14)
1 parent 7d34e00 commit 105eb0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Day002-AngularApp.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ error NG8001: 'app-hello' is not a known element:
5858
`@usageNotes` — The set of selectors that are available to a template include those declared here, and those that are exported from imported NgModules.
5959
Declarables must belong to exactly one module. The compiler emits an error if you try to declare the same class in more than one module. Be careful not to declare a class that is imported from another module.
6060

61-
Yeah, chính là nó đó, giờ chỉ việc thêm HelloComponent vào đó là xong.
61+
Yeah, chính là nó đó, giờ chỉ việc import component lên đầu và thêm HelloComponent vào declarations là xong.
62+
```typescript
63+
import { HelloComponent } from './hello.component'
64+
```
6265

6366
```typescript
6467
declarations: [

0 commit comments

Comments
 (0)