You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ What you need to run this app:
140
140
*`node` and `npm` (`brew install node`)
141
141
* Ensure you're running the latest versions Node `v4.x.x`+ (or `v5.x.x`) and NPM `3.x.x`+
142
142
143
-
> If you have `nvm` installed, which is highly recommended (`brew install nvm`) you can do a `nvm install --lts && nvm use` in `$` to run with the latest Node LTS. You can also have this `zsh` done for you [automatically](https://github.com/creationix/nvm#calling-nvm-use-automatically-in-a-directory-with-a-nvmrc-file)
143
+
> If you have `nvm` installed, which is highly recommended (`brew install nvm`) you can do a `nvm install --lts && nvm use` in `$` to run with the latest Node LTS. You can also have this `zsh` done for you [automatically](https://github.com/creationix/nvm#calling-nvm-use-automatically-in-a-directory-with-a-nvmrc-file)
144
144
145
145
Once you have those, you should install these globals with `npm install --global`:
146
146
*`webpack` (`npm install --global webpack`)
@@ -268,18 +268,18 @@ We have good experience using these editors:
268
268
*[Sublime Text](http://www.sublimetext.com/3) with [Typescript-Sublime-Plugin](https://github.com/Microsoft/Typescript-Sublime-plugin#installation)
269
269
270
270
### Visual Studio Code + Debugger for Chrome
271
-
> Install [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) and see docs for instructions to launch Chrome
271
+
> Install [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) and see docs for instructions to launch Chrome
272
272
273
273
The included `.vscode` automatically connects to the webpack development server on port `3000`.
274
274
275
275
# Types
276
276
> When you include a module that doesn't include Type Definitions inside of the module you can include external Type Definitions with @types
277
277
278
-
i.e, to have youtube api support, run this command in terminal:
278
+
i.e, to have youtube api support, run this command in terminal:
279
279
```shell
280
280
npm i @types/youtube @types/gapi @types/gapi.youtube
281
-
```
282
-
In some cases where your code editor doesn't support Typescript 2 yet or these types weren't listed in ```tsconfig.json```, add these to **"src/custom-typings.d.ts"** to make peace with the compile check:
281
+
```
282
+
In some cases where your code editor doesn't support Typescript 2 yet or these types weren't listed in ```tsconfig.json```, add these to **"src/custom-typings.d.ts"** to make peace with the compile check:
283
283
```es6
284
284
import'@types/gapi.youtube';
285
285
import'@types/gapi';
@@ -332,7 +332,7 @@ import * as _ from 'lodash';
332
332
* How do I start the app when I get `EACCES` and `EADDRINUSE` errors?
333
333
* The `EADDRINUSE` error means the port `3000` is currently being used and `EACCES` is lack of permission for webpack to build files to `./dist/`
334
334
* How to use `sass` for css?
335
-
*`loaders: ['raw-loader','sass-loader']` and `@Component({ styleUrls: ['./filename.scss'] })` see issue [#136](https://github.com/AngularClass/angular2-webpack-starter/issues/136)
335
+
*`loaders: ['raw-loader','sass-loader']` and `@Component({ styleUrls: ['./filename.scss'] })` see Wiki page [How to include SCSS in components](https://github.com/AngularClass/angular2-webpack-starter/wiki/How-to-include-SCSS-in-components), or issue [#136](https://github.com/AngularClass/angular2-webpack-starter/issues/136) for more information.
336
336
* How do I test a Service?
337
337
* See issue [#130](https://github.com/AngularClass/angular2-webpack-starter/issues/130#issuecomment-158872648)
338
338
* How do I add `vscode-chrome-debug` support?
@@ -360,7 +360,7 @@ import * as _ from 'lodash';
360
360
* node-pre-gyp ERR in npm install (Windows)
361
361
* install Python x86 version between 2.5 and 3.0 on windows see issue [#626](https://github.com/AngularClass/angular2-webpack-starter/issues/626)
* remove `node_modules/typescript` and run `npm install typescript@beta`. This repo now uses ts 2.0
363
+
* remove `node_modules/typescript` and run `npm install typescript@beta`. This repo now uses ts 2.0
364
364
* "There are multiple modules with names that only differ in casing"
365
365
* change `c:\[path to angular2-webpack-starter]` to `C:\[path to angular2-webpack-starter]` see [926#issuecomment-245223547](https://github.com/AngularClass/angular2-webpack-starter/issues/926#issuecomment-245223547)
0 commit comments