Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(toh-pt5): add instruc for adding moduleId to AppComponent (#2967) #2985

Merged
merged 1 commit into from
Dec 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion public/docs/ts/latest/tutorial/toh-pt5.jade
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,9 @@ block css-files
+makeExcerpt('app/app.component.ts (active router links)', 'template')

:marked
Set the `AppComponent`’s `styleUrls` property to this CSS file.
First add `moduleId: module.id` to the `@Component` metadata of the `AppComponent`
to enable _module-relative_ file URLs.
Then add a `styleUrls` property that points to this CSS file as follows.

+makeExcerpt('app/app.component.ts','styleUrls')

Expand Down