소스 검색

Docs: Fixed import error (#27372)

林炳权 1 년 전
부모
커밋
9807b24377
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      docs/examples/en/utils/SceneUtils.html
  2. 1 1
      docs/examples/zh/utils/SceneUtils.html

+ 1 - 1
docs/examples/en/utils/SceneUtils.html

@@ -21,7 +21,7 @@
 		</p>
 
 		<code>
-			import { SceneUtils } from 'three/addons/utils/SceneUtils.js';
+			import * as SceneUtils from 'three/addons/utils/SceneUtils.js';
 		</code>
 
 		<h2>Methods</h2>

+ 1 - 1
docs/examples/zh/utils/SceneUtils.html

@@ -19,7 +19,7 @@
 		</p>
 
 		<code>
-			import { SceneUtils } from 'three/addons/utils/SceneUtils.js';
+			import * as SceneUtils from 'three/addons/utils/SceneUtils.js';
 		</code>
 
 		<h2>方法</h2>