upd
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>3D Cube Viewer</title>
|
<title>3D Model Viewer</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="info">
|
<div id="info">
|
||||||
<h2>3D Cube Viewer</h2>
|
<h2>3D Model Viewer</h2>
|
||||||
<p>🖱️ Left click + drag: Rotate around model</p>
|
<p>🖱️ Left click + drag: Rotate around model</p>
|
||||||
<p>🖱️ Right click + drag: Pan</p>
|
<p>🖱️ Right click + drag: Pan</p>
|
||||||
<p>⚙️ Mouse wheel: Zoom in/out</p>
|
<p>⚙️ Mouse wheel: Zoom in/out</p>
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ module.exports = (env, argv) => {
|
|||||||
entry: './src/index.js',
|
entry: './src/index.js',
|
||||||
|
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, '../growheads_de/dist/3d/'),
|
||||||
filename: isProduction ? '[name].[contenthash].js' : '[name].js',
|
filename: isProduction ? '[name].[contenthash].js' : '[name].js',
|
||||||
clean: true,
|
clean: true,
|
||||||
publicPath: '/'
|
publicPath: '/3d/'
|
||||||
},
|
},
|
||||||
|
|
||||||
module: {
|
module: {
|
||||||
|
|||||||
Reference in New Issue
Block a user