79746897

Date: 2025-08-26 13:36:17
Score: 0.5
Natty:
Report link

I could avoid this problem by importing the bundled version from the /dist/ folder like this:

import {MindARThree} from "mind-ar/dist/mindar-image-three.prod.js";

and use it like this:

const mindarThree = new MindARThree({
  container: document.body,
  imageTargetSrc: "./card.mind",
  renderer: gl,
  scene: scene,
  camera: camera,
});
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: murcoder