2
0
Эх сурвалжийг харах

README: Fixed import path.

Mr.doob 5 жил өмнө
parent
commit
34af368f97
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -25,7 +25,7 @@ The aim of the project is to create an easy to use, lightweight, 3D library with
 This code creates a scene, a camera, and a geometric cube, and it adds the cube to the scene. It then creates a `WebGL` renderer for the scene and camera, and it adds that viewport to the `document.body` element. Finally, it animates the cube within the scene for the camera.
 
 ```javascript
-import * as THREE from 'js/three.module.js';
+import * as THREE from './js/three.module.js';
 
 var camera, scene, renderer;
 var geometry, material, mesh;