Skip to content

Commit bf9ac84

Browse files
committed
Add SASS usage question
1 parent 11276e1 commit bf9ac84

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
|196| [How do you use jquery in Angular?](#how-do-you-use-jquery-in-angular)|
205205
|197| [What is the reason for No provider for HTTP exception?](#what-is-the-reason-for-no-provider-for-http-exception)|
206206
|198| [](#)|
207-
|199| [](#)|
207+
|199| [How can I use SASS in angular project?](#how-can-i-use-sass-in-angular-project)|
208208
|200| [](#)|
209209

210210
1. ### What is Angular Framework?
@@ -2443,8 +2443,8 @@
24432443
• TypeScript 3.1
24442444
• RxJS 6.3
24452445
• New Angular CLI
2446-
• CLI Prompts capability provide an ability to ask questions to the user before they run. It is like interactive dialog between the user and the CLI
2447-
• With the improved CLI Prompts capability, it helps developers to make the decision. New ng commands ask users for routing and CSS styles types(SCSS) and ng add @angular/material asks for themes and gestures or animations.
2446+
• CLI Prompts capability provide an ability to ask questions to the user before they run. It is like interactive dialog between the user and the CLI
2447+
• With the improved CLI Prompts capability, it helps developers to make the decision. New ng commands ask users for routing and CSS styles types(SCSS) and ng add @angular/material asks for themes and gestures or animations.
24482448
24492449
**[⬆ Back to Top](#table-of-contents)**
24502450
@@ -3012,12 +3012,19 @@
30123012
30133013
**[⬆ Back to Top](#table-of-contents)**
30143014
3015-
198. ### ?
3015+
198. ### How do you determine active route?
30163016
30173017
**[⬆ Back to Top](#table-of-contents)**
30183018
3019-
199. ### ?
3020-
3019+
199. ### How can I use SASS in angular project?
3020+
When you are creating your project with angular cli, you can use `ng new`command. It generates all your components with predefined sass files.
3021+
```javascript
3022+
ng new My_New_Project --style=sass
3023+
```
3024+
But if you are changing your existing style in your project then use `ng set` command,
3025+
```javascript
3026+
ng set defaults.styleExt scss
3027+
```
30213028
**[⬆ Back to Top](#table-of-contents)**
30223029
30233030
200. ### ?

0 commit comments

Comments
 (0)