Răsfoiți Sursa

README: Fixed import path.

Mr.doob 5 ani în urmă
părinte
comite
34af368f97
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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.
 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
 ```javascript
-import * as THREE from 'js/three.module.js';
+import * as THREE from './js/three.module.js';
 
 
 var camera, scene, renderer;
 var camera, scene, renderer;
 var geometry, material, mesh;
 var geometry, material, mesh;