# Help getting set-up with VSCode and THREE.js

**URL:** <https://discourse.threejs.org/t/help-getting-set-up-with-vscode-and-three-js/19606>\
**Category:** Questions\
**Tags:** dev-tools\
**Created:** [October 10, 2020, 12:22am UTC](https://discourse.threejs.org/t/help-getting-set-up-with-vscode-and-three-js/19606 "2020-10-10T00:22:30Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)\
**Post date:** [October 10, 2020, 9:30pm UTC](https://discourse.threejs.org/t/help-getting-set-up-with-vscode-and-three-js/19606/21 "2020-10-10T21:30:44Z")

</div>

i suggest you use bundlers like most people do and you have three running in seconds. parcel or any other. as a quick fix i would suggest codesandbox. it has a download button which has the project files needed (uses parcel i believe). looks like this: [https://codesandbox.io/s/reurope-threejs-basic-kiow9](https://codesandbox.io/s/reurope-threejs-basic-kiow9)

you are messing with dead-end specs that will never see the light of day (module script tags) or at best are unfinished and impractical (spec esm imports). you would never see any of this stuff in a professional setting.

---

<div class="post-metadata">

**Author:** ![jfirestorm44](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jfirestorm44/32/13869_2.png) [@jfirestorm44](https://discourse.threejs.org/u/jfirestorm44)\
**Post date:** [October 10, 2020, 9:45pm UTC](https://discourse.threejs.org/t/help-getting-set-up-with-vscode-and-three-js/19606/22 "2020-10-10T21:45:22Z")

</div>

I am open to any form of making this work as long as I can disconnect from the internet for extended periods of time. I need to be self sufficient.

If I download this from codesandbox would I then be able to use those files and build/practice THREE.js without internet?

---

<div class="post-metadata">

**Author:** ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)\
**Post date:** [October 10, 2020, 9:46pm UTC](https://discourse.threejs.org/t/help-getting-set-up-with-vscode-and-three-js/19606/23 "2020-10-10T21:46:41Z")

</div>

> [@jfirestorm44](#):
>
> If I download this from codesandbox would I then be able to use those files and build/practice THREE.js without internet?

yes. that’s what all bundlers do. once you do “npm install” all your dependencies are local.

---

<div class="post-metadata">

**Author:** ![jfirestorm44](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jfirestorm44/32/13869_2.png) [@jfirestorm44](https://discourse.threejs.org/u/jfirestorm44)\
**Post date:** [October 10, 2020, 10:41pm UTC](https://discourse.threejs.org/t/help-getting-set-up-with-vscode-and-three-js/19606/24 "2020-10-10T22:41:08Z")

</div>

I’ll be honest I don’t know enough about bundlers/github/dependencies etc to get this done. I went into git bash and did the `npm install` and I now have a folder called `node_modules`. I have no clue what it does or what to do with these files.

On codesandbox I couldn’t find anything labeled download so I didn’t know what to do there.

Sorry for taking so much time I just really want this working.

EDIT during the install I had a bunch of warning about dependencies being outdated. I ran `npm update` but it didn’t look like anything happended.

---

<div class="post-metadata">

**Author:** ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)\
**Post date:** [October 11, 2020, 3:14pm UTC](https://discourse.threejs.org/t/help-getting-set-up-with-vscode-and-three-js/19606/25 "2020-10-11T15:14:49Z")

</div>

node\_modules keeps your dependencies locally. the download button is on the upper left, the array pointing down (export to zip).

---

<div class="post-metadata">

**Author:** ![jfirestorm44](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jfirestorm44/32/13869_2.png) [@jfirestorm44](https://discourse.threejs.org/u/jfirestorm44)\
**Post date:** [October 11, 2020, 4:00pm UTC](https://discourse.threejs.org/t/help-getting-set-up-with-vscode-and-three-js/19606/26 "2020-10-11T16:00:02Z")

</div>

I just finally got something working. I used this boilerplate that this guy had posted on my [stackoverflow questions](https://stackoverflow.com/questions/64286220/vscode-setup-with-three-js) also posted above by @mugen87.

It took me a bit to figure how it works but I’ve managed to get a couple of my project to finally load in a browser. I also disconnected internet and it still worked so that’s what needed. I greatly appreciate everyone’s help in this.

[Previous page](https://discourse.threejs.org/t/help-getting-set-up-with-vscode-and-three-js/19606.md?page=1)
