mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
use web pack html
This commit is contained in:
parent
4080f0151c
commit
4bd5c2f679
@ -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>
|
|
@ -80,9 +80,12 @@ module.exports = {
|
|||||||
}),
|
}),
|
||||||
new HTMLWebpackPlugin({
|
new HTMLWebpackPlugin({
|
||||||
title: 'Doodle3D Core - Simple example',
|
title: 'Doodle3D Core - Simple example',
|
||||||
template: 'src/index.html',
|
favicon: './favicon.ico',
|
||||||
favicon: 'favicon.ico',
|
template: require('html-webpack-template'),
|
||||||
inject: true,
|
inject: false,
|
||||||
|
mobile: true,
|
||||||
|
scripts: appMode ? ['cordova.js'] : null,
|
||||||
|
appMountId: 'app'
|
||||||
}),
|
}),
|
||||||
new GoogleFontsPlugin({
|
new GoogleFontsPlugin({
|
||||||
fonts: [
|
fonts: [
|
||||||
|
Loading…
Reference in New Issue
Block a user