Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vuquangpham/boil3js

A template for Three.js project
https://github.com/vuquangpham/boil3js

boil-collections boilerplate javascript template threejs

Last synced: about 1 month ago
JSON representation

A template for Three.js project

Awesome Lists containing this project

README

        

# Three.js Boilerplate

> 🙌 Taken inspiration from Bruno Simon - the author of Three.js Journey course.

> ⚠️ This template is under construction and will be customized accordingly to my Three.js projects.

👉 Check it here!

## Setup

```shell
# Clone the template to your local or create a repository from this template
git clone https://github.com/vuquangpham/boil3js.git

# Install dependencies
npm install
```

## Getting Started

I did almost the necessary code for the Three.js project, you can check it inside the `src` folder.

### Debug

> Just add `?debug` to the end of your URL to get the debug panel 😉

## Deployment

Run `./public` in dev server

```shell
npm run dev
```

Build files to `./dist` for production

```shell
npm run build
```

Build files to `./dist` for production and preview

```shell
npm run buildpreview
```