We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b7dd0e commit 51c94b4Copy full SHA for 51c94b4
docs/documentation/stories/include-font-awesome.md
@@ -23,13 +23,29 @@ To add Font Awesome CSS icons to your app...
23
"build": {
24
"options": {
25
"styles": [
26
- "../node_modules/font-awesome/css/font-awesome.css"
27
- "styles.css"
+ "../node_modules/font-awesome/css/font-awesome.css",
+ "src/styles.css"
28
],
29
}
30
31
```
32
### Using SASS
33
+Create new project with SASS:
34
+```
35
+ng new cli-app --style=scss
36
37
+With existing project with `CSS`, change `angular.json` to look for `styles.scss` instead of css:
38
39
+// in angular.json
40
+"build": {
41
+ "options": {
42
+ "styles": [
43
+ "src/styles.scss"
44
+ ],
45
+ }
46
+}
47
48
+Make sure to change `styles.css` to `styles.scss`.
49
50
Create an empty file _variables.scss in src/.
51
0 commit comments