Extend template example in readme

This commit is contained in:
Jan Nicklas 2015-06-05 09:08:43 +02:00
parent f186c9a0b2
commit f210b46b84
1 changed files with 3 additions and 2 deletions

View File

@ -123,7 +123,8 @@ and favicon files into the markup.
plugins: [
new HtmlWebpackPlugin({
inject: true,
template: 'my-index.html'
template: 'my-index.html',
title: 'Custom template',
})
]
```
@ -133,7 +134,7 @@ plugins: [
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<title>My App</title>
<title>{%=o.htmlWebpackPlugin.options.title}</title>
</head>
<body>
</body>