Skip to content

docs: use three addons loader imports in hooks examples#3746

Open
pavan-sh wants to merge 1 commit into
pmndrs:masterfrom
pavan-sh:docs/update-hooks-loader-import-paths
Open

docs: use three addons loader imports in hooks examples#3746
pavan-sh wants to merge 1 commit into
pmndrs:masterfrom
pavan-sh:docs/update-hooks-loader-import-paths

Conversation

@pavan-sh
Copy link
Copy Markdown
Contributor

Updated two useLoader example imports in docs/API/hooks.mdx from legacy:
three/examples/jsm/loaders/GLTFLoader
three/examples/jsm/loaders/DRACOLoader

To current paths used elsewhere in this repo/docs:
three/addons/loaders/GLTFLoader.js
three/addons/loaders/DRACOLoader.js

Ref:
https://threejs.org/manual/#en/loading-3d-models
https://threejs.org/docs/#GLTFLoader

@codesandbox-ci
Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant