404错误(文件未找到)三个.module.js
404错误(文件未找到)三个.module.js
这可能是一个初级错误,但是我得到了一个存在的文件的404错误:
http://localhost:8000/Desktop/Skeletor/js/build/three.module.js net::ERR_ABORTED 404 (找不到文件)
应该是这样的:
http://localhost:8000/Desktop/Skeletor/MYPROJECT/js/build/three.module.js
所以我运行了一个缺少目录的错误,但是我不知道我错在哪里。是的,我故意从
../build/three.module.js
改成了
./build/three.module.js
这是index.html中从three.js的webgl loader示例复制的js代码: