Compile static title into index.html (fixes #148)
This commit is contained in:
parent
a013dae3fe
commit
40d23c537e
|
@ -1,6 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head></head>
|
||||
<head>
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root"></div>
|
||||
|
|
|
@ -131,6 +131,7 @@ module.exports = function (webpackEnv) {
|
|||
plugins: [
|
||||
new HtmlWebpackPlugin({
|
||||
base: baseUrl,
|
||||
title: 'OpenBikeSensor Portal',
|
||||
meta: {
|
||||
charset: 'utf-8',
|
||||
viewport: 'width=device-width, initial-scale=1',
|
||||
|
|
Loading…
Reference in a new issue