Starter project for Three.JS. Configured with Webpack 4 as a bundler.
Great and easy way to bootstrap your Three.JS project.
Clone the project and install dependencies:
git clone https://github.com/aakatev/three-js-webpack.git
npm i
Start webpack development server:
npm run start
Webpack configuration is located in webpack.config.js
.
Works with any other static website hosting too.
Bundle your code, and push it in your repo:
npm run build
git add
git commit -m"Deploying on GitHub Pages"
git push
The code can be formated with prettier:
npm run format