File tree 1 file changed +20
-2
lines changed
docs/documentation/stories
1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,31 @@ To add Font Awesome CSS icons to your app...
23
23
"build" : {
24
24
"options" : {
25
25
"styles" : [
26
- " ../node_modules/font-awesome/css/font-awesome.css"
27
- " styles.css"
26
+ " ../node_modules/font-awesome/css/font-awesome.css" ,
27
+ " src/ styles.css"
28
28
],
29
29
}
30
30
}
31
31
```
32
32
### Using SASS
33
+ Create new project with SASS:
34
+ ```
35
+ ng new cli-app --style=scss
36
+ ```
37
+ To use with existing project with ` CSS ` :
38
+ 1 . Rename ` src/styles.css ` to ` src/styles.scss `
39
+ 2 . Change ` angular.json ` to look for ` styles.scss ` instead of css:
40
+ ```
41
+ // in angular.json
42
+ "build": {
43
+ "options": {
44
+ "styles": [
45
+ "src/styles.scss"
46
+ ],
47
+ }
48
+ }
49
+ ```
50
+ Make sure to change ` styles.css ` to ` styles.scss ` .
33
51
34
52
Create an empty file _ variables.scss in src/.
35
53
You can’t perform that action at this time.
0 commit comments