Skip to content

Commit ed35a79

Browse files
author
Jonathan Grupp
committed
readme: faq for component SCSS - refer to wiki page in addition to ticket PatrickJS#136
1 parent b992596 commit ed35a79

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ What you need to run this app:
140140
* `node` and `npm` (`brew install node`)
141141
* Ensure you're running the latest versions Node `v4.x.x`+ (or `v5.x.x`) and NPM `3.x.x`+
142142

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)
144144
145145
Once you have those, you should install these globals with `npm install --global`:
146146
* `webpack` (`npm install --global webpack`)
@@ -268,18 +268,18 @@ We have good experience using these editors:
268268
* [Sublime Text](http://www.sublimetext.com/3) with [Typescript-Sublime-Plugin](https://github.com/Microsoft/Typescript-Sublime-plugin#installation)
269269

270270
### 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
272272
273273
The included `.vscode` automatically connects to the webpack development server on port `3000`.
274274

275275
# Types
276276
> When you include a module that doesn't include Type Definitions inside of the module you can include external Type Definitions with @types
277277
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:
279279
```shell
280280
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:
283283
```es6
284284
import '@types/gapi.youtube';
285285
import '@types/gapi';
@@ -332,7 +332,7 @@ import * as _ from 'lodash';
332332
* How do I start the app when I get `EACCES` and `EADDRINUSE` errors?
333333
* The `EADDRINUSE` error means the port `3000` is currently being used and `EACCES` is lack of permission for webpack to build files to `./dist/`
334334
* 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.
336336
* How do I test a Service?
337337
* See issue [#130](https://github.com/AngularClass/angular2-webpack-starter/issues/130#issuecomment-158872648)
338338
* How do I add `vscode-chrome-debug` support?
@@ -360,7 +360,7 @@ import * as _ from 'lodash';
360360
* node-pre-gyp ERR in npm install (Windows)
361361
* install Python x86 version between 2.5 and 3.0 on windows see issue [#626](https://github.com/AngularClass/angular2-webpack-starter/issues/626)
362362
* `Error:Error: Parse tsconfig error [{"messageText":"Unknown compiler option 'lib'.","category":1,"code":5023},{"messageText":"Unknown compiler option 'strictNullChecks'.","category":1,"code":5023},{"messageText":"Unknown compiler option 'baseUrl'.","category":1,"code":5023},{"messageText":"Unknown compiler option 'paths'.","category":1,"code":5023},{"messageText":"Unknown compiler option 'types'.","category":1,"code":5023}]`
363-
* 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
364364
* "There are multiple modules with names that only differ in casing"
365365
* 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)
366366

0 commit comments

Comments
 (0)