mirror of
https://github.com/anatolykopyl/vue-three-d-mockup.git
synced 2026-03-26 12:55:08 +00:00
Specified public path
This commit is contained in:
@@ -50,8 +50,8 @@ export default {
|
|||||||
const screen = new THREE.Mesh(
|
const screen = new THREE.Mesh(
|
||||||
new THREE.PlaneGeometry(scale * 9, scale * 19.5), material,
|
new THREE.PlaneGeometry(scale * 9, scale * 19.5), material,
|
||||||
);
|
);
|
||||||
screen.material.side = THREE.DoubleSide;
|
|
||||||
screen.translateZ(6);
|
screen.translateZ(6);
|
||||||
|
screen.translateX(1);
|
||||||
|
|
||||||
this.phone = new THREE.Group();
|
this.phone = new THREE.Group();
|
||||||
this.phone.add(screen);
|
this.phone.add(screen);
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
|
publicPath: '/vue-three-d-mockup/',
|
||||||
chainWebpack: (config) => {
|
chainWebpack: (config) => {
|
||||||
config.module
|
config.module
|
||||||
.rule('file-loader')
|
.rule('file-loader')
|
||||||
|
|||||||
Reference in New Issue
Block a user