mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: Remove outdated note (#46022)
Component.styles can now use SCSS or LESS preprocessors. PR Close #46022
This commit is contained in:
parent
23a9990935
commit
1bd0532e87
1 changed files with 0 additions and 6 deletions
|
|
@ -276,12 +276,6 @@ 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.
|
||||
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">
|
||||
|
||||
Style strings added to the `@Component.styles` array *must be written in CSS* because the CLI cannot apply a preprocessor to inline styles.
|
||||
|
||||
</div>
|
||||
|
||||
<!-- links -->
|
||||
|
||||
<!-- external links -->
|
||||
|
|
|
|||
Loading…
Reference in a new issue