google 的政策導致本地 .js 匯入,會判定為跨域訪問,以下有兩種解決方法
- 關閉 cors
- 新增 chrome.exe or msedge.exe 捷徑
- 右鍵選擇內容,並在"目標"欄位的後面新增 "--disable-web-security",最後儲存
- 使用 vscode,可以安裝 Live Server 擴充
開發語言:Javascript
需求套件:ThreeJs、CannonJs
- javascript 的 3D 物理引擎
- styles
- 網路和個人的 three.js 實作 (e.g. 2d game、fruit)
- three.js 官方實作
- 3D 模型、圖片
- skybox 的圖片
- three.js 套件