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

Commit 5d7221c

Browse files
authored
docs(toh-pt5): add instruc about adding moduleId to AppComponent (#2967) (#2985)
closes #2967.
1 parent 023ba1c commit 5d7221c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

public/docs/ts/latest/tutorial/toh-pt5.jade

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,9 @@ block css-files
869869
+makeExcerpt('app/app.component.ts (active router links)', 'template')
870870

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

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

0 commit comments

Comments
 (0)