Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What to do "which stylesheet format would you like to use (use arrow keys) " in Angular

I'm creating an Angular project using angular cli and they are asking me "which stylesheet format would you like to use (use arrow keys)" with different formats.

Why is this appearing?

like image 943
Azizul Hoq Avatar asked Feb 09 '19 17:02

Azizul Hoq


People also ask

Which stylesheet format would you like to use use arrow keys?

I'd recommend selecting SASS. It's backwards compatible with CSS and it has a ton of awesome features.

Which stylesheet format should I use for angular?

Angular applications are styled with standard CSS. That means you can apply everything you know about CSS stylesheets, selectors, rules, and media queries directly to Angular applications. Additionally, Angular can bundle component styles with components, enabling a more modular design than regular stylesheets.


1 Answers

The Angular CLI provides an interactive experience in some cases. Although you can avoid this by passing in the style flag documented in the angular docs here: https://angular.io/cli/new. If you don't pass in a style sheet you just need to press the up or down arrows to decide which format you prefer

enter image description here

like image 144
John Graham Avatar answered Sep 21 '22 12:09

John Graham