JSM: Documentation for importable examples
See original GitHub issueIt’d be great to have ‘how to import this’ near the top of documentation for example files, as we add support for them. Like:
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
We get enough questions here and in the forums where people are surprised something isn’t part of the core library, and this might help with some of that.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Import objects into Assets for Jira Service Management
Learn how to import multiple objects and object types into Assets for Jira Service Management.
Read more >Importing examples jsm modules causes bundlers to bundle ...
Importing from three/examples/jsm/.../<module> causes bundlers (tested with rollup) to include the library twice (or multiple times).
Read more >Loading Models - React Three Fiber Documentation
There are many types of 3D model extensions, in this page we will focus on loading the three most common ones: GLTF ,...
Read more >Getting Started With Asset Management In Insight - YouTube
This video will take you through the steps needed to import your assets into Jira Service Management and create a custom field to...
Read more >Insight Importers in Jira Service Management - YouTube
This video provides an overview on how to import objects in bulk from a file with Insight in Jira Service Management.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Not that my opinion necessarily carries any weight, but as a new three.js user, I’m writing 100% typescript and ES modules. I expect most new projects are at this point. Webpack and other tools can transpile back and add some polyfills for older browsers when needed (I think a lot of people care less & less – YMMV).
I think so. Yes.