You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
New feature to import AR.js classes in a <script type="module">.
What is the current behavior?
If you try to import AR.js classes in module tag an error will appear in the developer console, with no interaction. Example code:
<scripttype="module">
import {ArToolkitContext,ArToolkitSource} from "./three.js/build/ar-threex.js"
/// your code
</script>
If the current behavior is a bug, please provide the steps to reproduce.
Please mention other relevant information such as the browser version, Operating System and Device Name
What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
Starting from Three r151 It will possible to load three.js library only as a module, so if we want to use this version we need this kind of feature.
It is possible to use an experimental webpack entry and with no efforts we wiill have this nice feature.
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
New feature to import AR.js classes in a
<script type="module">
.What is the current behavior?
If you try to import AR.js classes in module tag an error will appear in the developer console, with no interaction. Example code:
If the current behavior is a bug, please provide the steps to reproduce.
Please mention other relevant information such as the browser version, Operating System and Device Name
What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
Starting from Three
r151
It will possible to load three.js library only as a module, so if we want to use this version we need this kind of feature.It is possible to use an experimental webpack entry and with no efforts we wiill have this nice feature.
The text was updated successfully, but these errors were encountered: