Comments (2)
In some development environments you could use three/examples/jsm/*
too, and that is OK. I'm not sure what bundlers do not support exports
these days, and would be curious what build system is used here.
from three.js.
Importing should work since the addons
alias is defined in the exports
section in package.json
:
Line 15 in e5426b0
It seems your development tool does not evaluate this entry.
When directly importing modules in the browser, you have to define an import map like explained in the guide. The import map makes sure imports with three/addons/
can be resolved.
from three.js.
Related Issues (20)
- STLLoader: Add name to multiple solids HOT 8
- [OrbitControls] - Documentation with wrong information or type outdated HOT 1
- OrbitControls when zoomToCursor is enabled `updateMouseParameters` should consider object change HOT 1
- Playground: Should we show the playground link `https://threejs.org/playground` in homepage `https://threejs.org` HOT 2
- Examples: The `USDZExporter button` is displayed incorrectly in `misc_exporter_usdz.html` HOT 1
- MMDLoader Colorization Issue HOT 8
- Can't use Reflector.js with webgl_portal example HOT 1
- Visual Artifacts when creating LineSegments from geometry with holes HOT 4
- WebGLRenderer copyTextureToTexture3D failing on Data3DTexture using Uint32Array HOT 2
- Add more 'made with Three.js' links to featured section on the website HOT 1
- Proposal: InstancedMesh.updateRanges -> array of update ranges HOT 2
- The doc for CameraUtils says import incorrect exported name "CameraUtils" HOT 3
- Texture lod bias HOT 4
- Automated build and release workflow HOT 4
- KTX2Loader: Support for ASTC and ETC1 formats HOT 18
- Support more than 4 UV layers in Nodes
- Creative Commons Attribution 3.0 License used by a shader HOT 2
- Issue with Cond and Texture nodes in node materials
- wgsl does not understand "FloatType" in DataTextures
- The problem of casting shadows on a geometric plane HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from three.js.