docs: fix broken links to CLI wiki in the "Component styles" guide (#41516)

Fixes #41362

PR Close #41516
This commit is contained in:
George Kalpakas 2021-04-17 11:38:34 +03:00 committed by Andrew Kushnir
parent dfe52cd9e4
commit d0b1f99598
1 changed files with 2 additions and 7 deletions

View File

@ -220,8 +220,7 @@ You can also write `<link>` tags into the component's HTML template.
<div class="alert is-critical">
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 wiki](https://github.com/angular/angular-cli/wiki/stories-asset-configuration).
<!-- 2018-10-16: The link above is still the best source for this information. -->
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 [Assets configuration guide](guide/workspace-config#assets-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.
@ -245,7 +244,6 @@ When building with the CLI, you must configure the `angular.json` to include _al
Register **global** style files in the `styles` section which, by default, is pre-configured with the global `styles.css` file.
See the [Styles configuration guide](guide/workspace-config#styles-and-scripts-configuration) to learn more.
<!-- 2018-10-16: The link above is still the best source for this information. -->
### Non-CSS style files
@ -265,10 +263,7 @@ you can write style files in [sass](https://sass-lang.com/), [less](http://lessc
The CLI build process runs the pertinent CSS preprocessor.
When generating a component file with `ng generate component`, the CLI emits an empty CSS styles file (`.css`) by default.
You can configure the CLI to default to your preferred CSS preprocessor
as explained in the [CLI wiki](https://github.com/angular/angular-cli/wiki/stories-css-preprocessors
"CSS Preprocessor integration").
<!-- 2018-10-16: The link above is still the best source for this information. -->
You can configure the CLI to default to your preferred CSS preprocessor as explained in the [Workspace configuration guide](guide/workspace-config#generation-schematics).
<div class="alert is-important">