Hi @yallen011 , I've seen your presentation in Ioniconf and since then I've been studying VR and AR using Aframe in Ionic. Thank you very much for introducing us to such a nice topic and for doing a great presentation.
I've been trying to use Ar.JS through aframe-ar to implement a hiro marker reader. It worked, but I was unable to import aframe-ar using npm packages in my app.component.ts just like you did with aframe (it gaves me an error saying path is undefined, fs is undefined...).
I ended up importing everything (aframe, threeJS, and aframe-ar) in the index.html.
Have you ever managed to import aframe-ar using npm-packages? Thanks in advance.
Here's my project
Hi @yallen011 , I've seen your presentation in Ioniconf and since then I've been studying VR and AR using Aframe in Ionic. Thank you very much for introducing us to such a nice topic and for doing a great presentation.
I've been trying to use Ar.JS through aframe-ar to implement a hiro marker reader. It worked, but I was unable to import aframe-ar using npm packages in my app.component.ts just like you did with aframe (it gaves me an error saying path is undefined, fs is undefined...).
I ended up importing everything (aframe, threeJS, and aframe-ar) in the index.html.
Have you ever managed to import aframe-ar using npm-packages? Thanks in advance.
Here's my project