@@ -168,7 +168,7 @@ ng e2e
168168
169169Before running the tests make sure you are serving the app via ` ng serve ` .
170170
171- End-to-end tests are ran via [ Protractor] ( https://angular.github.io/protractor/ ) .
171+ End-to-end tests are run via [ Protractor] ( https://angular.github.io/protractor/ ) .
172172
173173
174174### Deploying the app via GitHub Pages
@@ -240,12 +240,12 @@ source ~/.bash_profile
240240### CSS Preprocessor integration
241241
242242Angular-CLI supports all major CSS preprocessors:
243- - sass (node- sass)
244- - less (less )
245- - compass (compass-importer + node-sass )
246- - stylus (stylus)
243+ - sass/scss ( [ http://sass-lang.com/ ] ( http:// sass-lang.com/ ) )
244+ - less ([ http://lesscss.org/ ] ( http://lesscss.org/ ) )
245+ - compass ([ http:// compass-style.org/ ] ( http://compass-style.org/ ) )
246+ - stylus ([ http:// stylus-lang.com/ ] ( http://stylus-lang.com/ ) )
247247
248- To use these prepocessors simply add the file to your component's ` styreUrl ` :
248+ To use these prepocessors simply add the file to your component's ` styleUrls ` :
249249
250250```
251251@Component({
@@ -264,18 +264,23 @@ style files:
264264
265265``` bash
266266ng new sassy-project --style=sass
267+ ```
268+
269+ Or set the default style on an existing project:
267270
271+ ``` bash
272+ ng set defaults.styleExt scss
268273```
269274
270275### 3rd Party Library Installation
271276
272- Simply install your library via ` npm install lib-name ` and import it in your code.
277+ Simply install your library via ` npm install lib-name --save ` and import it in your code.
273278
274279If the library does not include typings, you can install them using npm:
275280
276281``` bash
277- npm install moment
278- npm install @types/moment
282+ npm install moment --save
283+ npm install @types/moment --save-dev
279284```
280285
281286### Updating angular-cli
0 commit comments