From 5d7221c02610a70896db79583c10fb07a26e521e Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Wed, 14 Dec 2016 22:36:31 -0800 Subject: [PATCH] docs(toh-pt5): add instruc about adding `moduleId` to `AppComponent` (#2967) (#2985) closes #2967. --- public/docs/ts/latest/tutorial/toh-pt5.jade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/docs/ts/latest/tutorial/toh-pt5.jade b/public/docs/ts/latest/tutorial/toh-pt5.jade index a75f0587a0..da044405e3 100644 --- a/public/docs/ts/latest/tutorial/toh-pt5.jade +++ b/public/docs/ts/latest/tutorial/toh-pt5.jade @@ -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')