Update README.md
This commit is contained in:
parent
73a61a94e9
commit
50651d946b
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue