Specified public path

This commit is contained in:
2022-01-29 13:24:31 +03:00
parent 25adcf6e02
commit fdc17340cf
2 changed files with 2 additions and 1 deletions

View File

@@ -50,8 +50,8 @@ export default {
const screen = new THREE.Mesh(
new THREE.PlaneGeometry(scale * 9, scale * 19.5), material,
);
screen.material.side = THREE.DoubleSide;
screen.translateZ(6);
screen.translateX(1);
this.phone = new THREE.Group();
this.phone.add(screen);

View File

@@ -1,4 +1,5 @@
module.exports = {
publicPath: '/vue-three-d-mockup/',
chainWebpack: (config) => {
config.module
.rule('file-loader')