From e29520696590fb429183595f7967eb3fbfbad470 Mon Sep 17 00:00:00 2001 From: Dario Braun Date: Thu, 12 Jul 2018 10:00:17 +0200 Subject: [PATCH] docs: update component styles doc regarding relative URL (#24471) Update the documentation to match the CLI mechanics regarding relative URL in link tags. docs: update info on stylesheet location for CLI PR Close #24471 --- aio/content/guide/component-styles.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/aio/content/guide/component-styles.md b/aio/content/guide/component-styles.md index 444da23b60..1d4eaca201 100644 --- a/aio/content/guide/component-styles.md +++ b/aio/content/guide/component-styles.md @@ -216,11 +216,10 @@ You can also write `` tags into the component's HTML template.
-The link tag's `href` URL must be relative to the -_**application root**_, not relative to the component file. - When building with the CLI, be sure to include the linked style file among the assets to be copied to the server as described in the [CLI documentation](https://github.com/angular/angular-cli/wiki/stories-asset-configuration). +Once included, the CLI will include the stylesheet, whether the link tag's href URL is relative to the application root or the component file. +
### CSS @imports