more info in readme, gitignore

master
Michael Murtaugh 3 years ago
parent cf27e00a17
commit 49748a0b07

2
.gitignore vendored

@ -0,0 +1,2 @@
node_modules
dist

@ -1,7 +1,17 @@
== To build ==
npm install
npm run build
== How these files were created (tutorial) ==
To go through the full process, rm the package.json and regenerate it with:
npm init -y
Makes an empty [package.json](package.json) in this directory. When you install with npm install --save, the names of packages get added to "dependencies" in this file, so that later you can just "npm install" to reinstall all the dependencies (it's like pip + requirements.txt if that sounds familiar).
This makes an empty [package.json](package.json) in this directory. When you install with npm install --save, the names of packages get added to "dependencies" in this file, so that later you can just "npm install" to reinstall all the dependencies (it's like pip + requirements.txt if that sounds familiar).
First install three js with npm, following <https://threejs.org/docs/#manual/en/introduction/Installation>

Loading…
Cancel
Save