use web pack html

This commit is contained in:
casperlamboo 2018-01-31 14:27:05 +01:00
parent 4080f0151c
commit 4bd5c2f679
2 changed files with 6 additions and 14 deletions

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<meta content="ie=edge" http-equiv="x-ua-compatible">
<title>Doodle3D Transform</title>
</head>
<body>
<div id="app"></div>
</body>
</html>

View File

@ -80,9 +80,12 @@ module.exports = {
}),
new HTMLWebpackPlugin({
title: 'Doodle3D Core - Simple example',
template: 'src/index.html',
favicon: 'favicon.ico',
inject: true,
favicon: './favicon.ico',
template: require('html-webpack-template'),
inject: false,
mobile: true,
scripts: appMode ? ['cordova.js'] : null,
appMountId: 'app'
}),
new GoogleFontsPlugin({
fonts: [