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