Loading...
Loading...
Bootstrap and toolchain guidance for three.js applications using npm, Vite/Webpack/Rollup, bare ESM import maps, and TypeScript. Covers canonical import paths for `three` core versus `three/addons/` (examples/jsm re-exports), version alignment with https://threejs.org/docs/, and fixing "module not found" for loaders and controls. Use when scaffolding a new 3D project, migrating bundler, or debugging resolution of addons—do not use for rendering API details (see threejs-renderers) or asset loading logic (see threejs-loaders).
npx skill4agent add full-stack-skills/threejs-skills threejs-dev-setupimportmapthree@types/threethree/addons/...examples/jsmWebGLRendererWebGPURendererGLTFLoaderDRACOLoaderimportmapthree/addons/threethreethree/addons/...examples/jsmrequestAnimationFramemoduleResolutionthreewindowdocument| Docs section | Representative links |
|---|---|
| Manual (getting started) | https://threejs.org/manual/ |
| Docs index | https://threejs.org/docs/ |
| Package / install context | https://www.npmjs.com/package/three |
threenode_modules/.../examples/jsmthree/addons/...three/addons/...importmapthreethreepackage.json