Update README.md

This commit is contained in:
Jan Nicklas 2015-06-10 14:21:27 +02:00
parent 73a61a94e9
commit 50651d946b
1 changed files with 5 additions and 3 deletions

View File

@ -122,13 +122,15 @@ and favicon files into the markup.
```javascript
plugins: [
new HtmlWebpackPlugin({
inject: true,
template: 'my-index.html',
title: 'Custom template',
title: 'Custom template',
template: 'my-index.html', // Load a custom template
inject: 'body' // Inject all scripts into the body
})
]
```
`my-index.html`:
```html
<!DOCTYPE html>
<html>