-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Хауди, сделай багфикс с мозиллой #46
Comments
и да, нужно пути сделать по другому. потому что всегда запрашивает по /dino3d/ и да, просто нужно дописать type="module" в <script> где есть импорт... import { Camera } from '../cameras/Camera.js'; это же все есть в THREE.js. есть THREE.Vector3, THREE.Color. зачем городить огород? ошибки нету. |
из-за этого файла не запускает( |
по пути /libs/three/helpers/CameraHelper.js
import { Camera } from '../cameras/Camera.js';
такая структура в мозилле не работает (
допиши код, тут решение: https://stackoverflow.com/questions/42237388/syntaxerror-import-declarations-may-only-appear-at-top-level-of-a-module
и вправду, хром динозаврик. мозилла не жуёт...
The text was updated successfully, but these errors were encountered: