Pārlūkot izejas kodu

Added .js extension to path of GLTFLoader.

I got a 404 error when I ran the line as written, but the 404 error went away when I added .js.  So, should the path end in .js?  I am a new user of three.js.
parke 5 gadi atpakaļ
vecāks
revīzija
f59d3fa8e7

+ 1 - 1
docs/manual/en/introduction/Loading-3D-models.html

@@ -85,7 +85,7 @@
 	</p>
 	</p>
 
 
 	<code>
 	<code>
-		import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
+		import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
 	</code>
 	</code>
 
 
 	<p>
 	<p>