Update README.md

More of the readme updated.
This commit is contained in:
Sean Larkin
2016-06-02 14:42:32 -05:00
parent c16a50a7e0
commit 790530e4ff
+13 -1
View File
@@ -19,4 +19,16 @@ Chain-to loader for webpack that inlines all html and style's in angular2 compon
# How to use:
* Install into node_modules: `npm install --save-dev angular2-template-loader`
*
* Chain `angular2-template-loader` to your favorite typescript loader:
```javascript
module: {
loaders: [
{
test: /\.ts$/,
loader: 'awesome-typescript-loader!angular2-template-loader',
exclude: [/\.(spec|e2e)\.ts$/]
}
]
},
```