docs: remove the mention of Stylus (#43013)
Stylus is not supported anymore by Angular, so it should be removed from the Angular docs PR Close #43013
This commit is contained in:
parent
181adff213
commit
002d959fe5
|
@ -249,7 +249,7 @@ See the [Styles configuration guide](guide/workspace-config#styles-and-scripts-c
|
||||||
### Non-CSS style files
|
### Non-CSS style files
|
||||||
|
|
||||||
If you're building with the CLI,
|
If you're building with the CLI,
|
||||||
you can write style files in [sass](https://sass-lang.com/), [less](http://lesscss.org/), or [stylus](https://stylus-lang.com/) and specify those files in the `@Component.styleUrls` metadata with the appropriate extensions (`.scss`, `.less`, `.styl`) as in the following example:
|
you can write style files in [sass](https://sass-lang.com/), or [less](http://lesscss.org/), and specify those files in the `@Component.styleUrls` metadata with the appropriate extensions (`.scss`, `.less`) as in the following example:
|
||||||
|
|
||||||
<code-example>
|
<code-example>
|
||||||
@Component({
|
@Component({
|
||||||
|
|
|
@ -197,8 +197,7 @@ By using the long form, the schematic can provide more explicit formatting of th
|
||||||
"css",
|
"css",
|
||||||
"scss",
|
"scss",
|
||||||
"sass",
|
"sass",
|
||||||
"less",
|
"less"
|
||||||
"styl"
|
|
||||||
],
|
],
|
||||||
"x-prompt": {
|
"x-prompt": {
|
||||||
"message": "Which stylesheet format would you like to use?",
|
"message": "Which stylesheet format would you like to use?",
|
||||||
|
@ -207,8 +206,7 @@ By using the long form, the schematic can provide more explicit formatting of th
|
||||||
{ "value": "css", "label": "CSS" },
|
{ "value": "css", "label": "CSS" },
|
||||||
{ "value": "scss", "label": "SCSS [ https://sass-lang.com/documentation/syntax#scss ]" },
|
{ "value": "scss", "label": "SCSS [ https://sass-lang.com/documentation/syntax#scss ]" },
|
||||||
{ "value": "sass", "label": "Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]" },
|
{ "value": "sass", "label": "Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]" },
|
||||||
{ "value": "less", "label": "Less [ http://lesscss.org/ ]" },
|
{ "value": "less", "label": "Less [ http://lesscss.org/ ]" }
|
||||||
{ "value": "styl", "label": "Stylus [ https://stylus-lang.com/ ]" }
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -191,7 +191,7 @@ Some additional options can only be set through the configuration file, either b
|
||||||
| OPTIONS PROPERTIES | DESCRIPTION |
|
| OPTIONS PROPERTIES | DESCRIPTION |
|
||||||
| :------------------------- | :---------------------------- |
|
| :------------------------- | :---------------------------- |
|
||||||
| `assets` | An object containing paths to static assets to add to the global context of the project. The default paths point to the project's icon file and its `assets` folder. See more in [Assets configuration](#asset-config) below. |
|
| `assets` | An object containing paths to static assets to add to the global context of the project. The default paths point to the project's icon file and its `assets` folder. See more in [Assets configuration](#asset-config) below. |
|
||||||
| `styles` | An array of style files to add to the global context of the project. Angular CLI supports CSS imports and all major CSS preprocessors: [sass/scss](https://sass-lang.com/), [less](http://lesscss.org/), and [stylus](https://stylus-lang.com/). See more in [Styles and scripts configuration](#style-script-config) below. |
|
| `styles` | An array of style files to add to the global context of the project. Angular CLI supports CSS imports and all major CSS preprocessors: [sass/scss](https://sass-lang.com/) and [less](http://lesscss.org/). See more in [Styles and scripts configuration](#style-script-config) below. |
|
||||||
| `stylePreprocessorOptions` | An object containing option-value pairs to pass to style preprocessors. See more in [Styles and scripts configuration](#style-script-config) below. |
|
| `stylePreprocessorOptions` | An object containing option-value pairs to pass to style preprocessors. See more in [Styles and scripts configuration](#style-script-config) below. |
|
||||||
| `scripts` | An object containing JavaScript script files to add to the global context of the project. The scripts are loaded exactly as if you had added them in a `<script>` tag inside `index.html`. See more in [Styles and scripts configuration](#style-script-config) below. |
|
| `scripts` | An object containing JavaScript script files to add to the global context of the project. The scripts are loaded exactly as if you had added them in a `<script>` tag inside `index.html`. See more in [Styles and scripts configuration](#style-script-config) below. |
|
||||||
| `budgets` | Default size-budget type and threshholds for all or parts of your application. You can configure the builder to report a warning or an error when the output reaches or exceeds a threshold size. See [Configure size budgets](guide/build#configure-size-budgets). (Not available in `test` section.) |
|
| `budgets` | Default size-budget type and threshholds for all or parts of your application. You can configure the builder to report a warning or an error when the output reaches or exceeds a threshold size. See [Configure size budgets](guide/build#configure-size-budgets). (Not available in `test` section.) |
|
||||||
|
@ -330,7 +330,7 @@ You can mix simple and complex file references for styles and scripts.
|
||||||
|
|
||||||
#### Style preprocessor options
|
#### Style preprocessor options
|
||||||
|
|
||||||
In Sass and Stylus you can make use of the `includePaths` functionality for both component and global styles, which allows you to add extra base paths that will be checked for imports.
|
In Sass you can make use of the `includePaths` functionality for both component and global styles, which allows you to add extra base paths that will be checked for imports.
|
||||||
|
|
||||||
To add paths, use the `stylePreprocessorOptions` option:
|
To add paths, use the `stylePreprocessorOptions` option:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue