Skip to content

Commit 95dd6b5

Browse files
authored
Merge branch 'master' into webpack-update-instructions
2 parents 43b3276 + 67e70a0 commit 95dd6b5

File tree

3 files changed

+22
-17
lines changed

3 files changed

+22
-17
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
> Please provide us with the following information:
22
> ---------------------------------------------------------------
3+
34
1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
45

56

6-
2. Versions. Please run `ng --version`. If there's nothing outputted, please
7-
run in a Terminal:
8-
node --version
9-
And paste the result here.
7+
2. Versions. Please run `ng --version`. If there's nothing outputted, please run
8+
in a Terminal: `node --version` and paste the result here:
109

1110

1211
3. Repro steps. Was this an app that wasn't created using the CLI? What change did you
@@ -18,5 +17,6 @@
1817

1918

2019
5. Mention any other details that might be useful.
20+
2121
> ---------------------------------------------------------------
22-
> > Thanks! We'll be in touch soon.
22+
> Thanks! We'll be in touch soon.

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ ng e2e
168168

169169
Before 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

242242
Angular-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
266266
ng 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

274279
If 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

bin/ng

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ resolve('angular-cli', { basedir: process.cwd() },
1313
function (error, projectLocalCli) {
1414
var cli;
1515
if (error) {
16-
// If there is an error, resolve could not find the ember-cli
16+
// If there is an error, resolve could not find the ng-cli
1717
// library from a package.json. Instead, include it from a relative
1818
// path to this script file (which is likely a globally installed
19-
// npm package). Most common cause for hitting this is `ember new`
19+
// npm package). Most common cause for hitting this is `ng new`
2020
cli = require('../lib/cli');
2121
} else {
2222
// No error implies a projectLocalCli, which will load whatever
23-
// version of ember-cli you have installed in a local package.json
23+
// version of ng-cli you have installed in a local package.json
2424
cli = require(projectLocalCli);
2525
}
2626

0 commit comments

Comments
 (0)