Andrey Radchishin

Results 42 comments of Andrey Radchishin

I'll try to get it soon. I think this method needs to be aware of the global config, and use that to determine if the container was created. Because the...

Is there a workaround for this? Was the npm package built incorrectly?

Those don't fix it for me. When I import the unminified version using: `import { ARnft } from '@webarkit/ar-nft/dist/src';` I get a clearer error: ``` Uncaught Error: Module parse failed:...

I fixed it by adding babel to my project. https://vue-loader.vuejs.org/guide/pre-processors.html#babel My webpack rule makes sure that only this module gets processed through babel: ```js { test: /\.js$/, loader: 'babel-loader', exclude:...

Fwiw, while this helped it build, it still doesn't work.

Vue CLI has a built in way of adding that rule that is much clearer than writing regex. Add to vue.config.js: ``` transpileDependencies: [ '@webarkit/ar-nft' ] ```

Now I am running into this Issue :) https://github.com/webarkit/ARnft-threejs/issues/8 But instead of a black screen, my video is frozen on the first frame and won't unpause.

Never mind, turns out I'm an idiot - the video itself I was testing does not actually change. It's a still slide the whole video 🤦

So my separate repo takes a similar approach to the threejs renderer. Except it 1) does not rely on Typescript and can be much more easily imported with webpack 2)...