GithubHelp home page GithubHelp logo

Comments (15)

dragonir avatar dragonir commented on June 16, 2024

image
划掉的都不需要,可以删掉,然后把Olympic的path改成第一个的。
依次执行:yarn installyarn run build 然后和普通 html 一样,部署 build 文件夹下 html 和对应资源

from 3d.

dragonir avatar dragonir commented on June 16, 2024

这位同学@zzy-life已经单独部署了,可以找他要一份打包好的。他的部署地址:www.zhangzhiyu.live:8900/3d

from 3d.

lofter414 avatar lofter414 commented on June 16, 2024

我给大家打包一份,解压直接部署一份就好。
https://lofter414.com/bdd/bdd.rar

from 3d.

928882650 avatar 928882650 commented on June 16, 2024

@zzy-life 老哥可以分享一份打包好的嘛?

from 3d.

zzy-life avatar zzy-life commented on June 16, 2024

@zzy-life 老哥可以分享一份打包好的嘛?
因为部署需要修改package.json的homepage字段 所以我推荐自己修改build部署
我是这样设置的 "homepage": "http://www.zhangzhiyu.live:8900/3d/"。
你可以通过SVN拉取www.zhangzhiyu.live/React-3d整个项目
如果不想修改homepage字段 可以使用项目中的build文件夹直接部署

from 3d.

zzy-life avatar zzy-life commented on June 16, 2024

@zzy-life 老哥可以分享一份打包好的嘛?

SVN用户名 user 密码 123456

from 3d.

lofter414 avatar lofter414 commented on June 16, 2024

@zzy-life 老哥可以分享一份打包好的嘛?
因为部署需要修改package.json的homepage字段 所以我推荐自己修改build部署
我是这样设置的 "homepage": "http://www.zhangzhiyu.live:8900/3d/"。
你可以通过SVN拉取www.zhangzhiyu.live/React-3d整个项目
如果不想修改homepage字段 可以使用项目中的build文件夹直接部署

好的,我自己也build出来了,感谢感谢!

from 3d.

zzy-life avatar zzy-life commented on June 16, 2024

nginx配置可参考

    location /3d {
        #配置3d项目
        alias //db/3d/build;#项目地址
        try_files $uri $uri/ /3d/index.html;#后台路由管理
        #try_files $uri $uri/ /index.html;
        index index.html index.htm;
    }

from 3d.

lLize-huil avatar lLize-huil commented on June 16, 2024

@zzy-life 哥哥可以更新一下http://www.zhangzhiyu.live:8900/3d/这个服务器上的代码嘛
最好也是能手指缩放的(* ̄3 ̄)╭,感谢

from 3d.

zzy-life avatar zzy-life commented on June 16, 2024

@zzy-life 哥哥可以更新一下http://www.zhangzhiyu.live:8900/3d/这个服务器上的代码嘛 最好也是能手指缩放的(* ̄3 ̄)╭,感谢

我这个服务器的案例是可以缩放的 但建议使用谷歌或edge 已知QQ浏览器无法缩放

from 3d.

lLize-huil avatar lLize-huil commented on June 16, 2024

@zzy-life 现在是可以缩放,我的意思是可以pull一下最新的代码,出了雪融融啊(。・∀・)ノ゙,更新代码后,也调一下缩放

from 3d.

zzy-life avatar zzy-life commented on June 16, 2024

@zzy-life 现在是可以缩放,我的意思是可以pull一下最新的代码,出了雪融融啊(。・∀・)ノ゙,更新代码后,也调一下缩放

雪融融暂不考虑更新 我觉得不好看 彩色围脖预计几天可以更新

from 3d.

zzy-life avatar zzy-life commented on June 16, 2024

@zzy-life 现在是可以缩放,我的意思是可以pull一下最新的代码,出了雪融融啊(。・∀・)ノ゙,更新代码后,也调一下缩放

另外你也可以自己设置缩放

 controls = new OrbitControls(camera, renderer.domElement);
      controls.target.set(0, 0, 0);
      controls.enableDamping = true;
      // 禁用平移
      controls.enablePan = false;
      // 禁用缩放
      // controls.enableZoom = false;
      if (/android|webos|iphone|ipod|balckberry/i.test(navigator.userAgent)) {
        controls.minDistance = 35; //限制视线最近距离
      } else {
        controls.minDistance = 15; //限制视线最近距离
      }
      controls.maxDistance = 130; //限制视线多远距离

      // 垂直旋转角度限制
      controls.minPolarAngle = 1.4;
      controls.maxPolarAngle = 1.8;
      // 水平旋转角度限制
      controls.minAzimuthAngle = -0.8;
      controls.maxAzimuthAngle = 0.8;

from 3d.

lLize-huil avatar lLize-huil commented on June 16, 2024

@zzy-life 好的,感谢

from 3d.

TravisYaro avatar TravisYaro commented on June 16, 2024

我给大家打包一份,解压直接部署一份就好。 https://lofter414.com/bdd/b

我给大家打包一份,解压直接部署一份就好。 https://lofter414.com/bdd/bdd.rar

Why do I download and open only five rings and snowflakes

from 3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.