|
@@ -25,7 +25,7 @@
|
|
|
<h2>Install from npm</h2>
|
|
|
|
|
|
<p>
|
|
|
- Three.js is published as [link:https://www.npmjs.com/package/three three] on npm. To install the three.js npm module, open a terminal window in your project folder and run:
|
|
|
+ To install the [link:https://www.npmjs.com/package/three three] npm module, open a terminal window in your project folder and run:
|
|
|
</p>
|
|
|
|
|
|
<code>
|
|
@@ -66,7 +66,7 @@
|
|
|
<h2>Install from CDN or static hosting</h2>
|
|
|
|
|
|
<p>
|
|
|
- Three.js can be used without any build system, either by uploading files to your own web server or by using an existing CDN. Because the library relies on ES modules, any script that references it must use <em>type="module"</em> as shown below:
|
|
|
+ The three.js library can be used without any build system, either by uploading files to your own web server or by using an existing CDN. Because the library relies on ES modules, any script that references it must use <em>type="module"</em> as shown below:
|
|
|
</p>
|
|
|
|
|
|
<code>
|