We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 49aecd7 + 24a3cf7 commit 2b8d3b0Copy full SHA for 2b8d3b0
doc/tutorial/basic/index.md
@@ -335,7 +335,13 @@ jsEnv := new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv()
335
{% endhighlight %}
336
337
This will use the [`jsdom`](https://github.com/jsdom/jsdom) library to simulate a DOM in Node.js.
338
-Note that you need to install it separately using
+You need to install it separately.
339
+It is usually best to install it locally for this project.
340
+You can initialize a private `package.json` as follows:
341
+
342
+ $ npm init private
343
344
+Then you can install jsdom:
345
346
$ npm install jsdom
347
0 commit comments