From 50651d946bf9a16d0ed9a8f31a245751cf09e23f Mon Sep 17 00:00:00 2001 From: Jan Nicklas Date: Wed, 10 Jun 2015 14:21:27 +0200 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e82a348..eb6779a 100644 --- a/README.md +++ b/README.md @@ -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