【问题标题】:Running the three.js editor from local files从本地文件运行 three.js 编辑器
【发布时间】:2021-12-28 06:26:48
【问题描述】:

我最近下载了包含three.js 编辑器的three.js-master 文件。如何从文件中运行编辑器?

【问题讨论】:

    标签: three.js editor


    【解决方案1】:
    • 确保已安装node.js
    • 打开控制台并导航到存储库的根目录。
    • 执行npm i 安装包及其依赖项。
    • 通过npm start 启动本地开发服务器。
    • 通过http://localhost:8080/editor/打开编辑器。

    【讨论】:

    • 输入“npm start”时出现错误
    • 什么错误?请更具体。
    • npm 错误!缺少脚本:开始
    • 您可能在错误的目录中。 start 脚本确实存在:github.com/mrdoob/three.js/blob/…
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-21
    • 2020-12-15
    相关资源
    最近更新 更多