https://github.com/ezzcodeezzlife/threejs-test
https://github.com/ezzcodeezzlife/threejs-test
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ezzcodeezzlife/threejs-test
- Owner: ezzcodeezzlife
- Created: 2022-02-06T17:20:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-06T23:28:26.000Z (over 4 years ago)
- Last Synced: 2025-02-09T20:36:11.668Z (over 1 year ago)
- Language: JavaScript
- Size: 2.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# three-js-webpack
Starter project for Three.JS. Configured with Webpack 4 as a bundler.
Great and easy way to bootstrap your Three.JS project.
## Development
Clone the project and install dependencies:
```bash
git clone https://github.com/aakatev/three-js-webpack.git
npm i
```
Start webpack development server:
```bash
npm run start
```
Webpack configuration is located in [`webpack.config.js`](webpack.config.js).
## Deployment on GitHub Pages
**Works with any other static website hosting too.**
Bundle your code, and push it in your repo:
```bash
npm run build
git add
git commit -m"Deploying on GitHub Pages"
git push
```
## Extra
The code can be formated with prettier:
```bash
npm run format
```