Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

ikatyang/web3d-homework

Repository files navigation

web3d-homework

build

web3d homework using three.js

Development

require Node.js@>=6

Setup

npm install

Generate gh-pages

npm run build

Preview gh-pages

npm run preview

Watch

all homeworks

npm run watch

specified homework

npm run watch -- hwX

Structure

src/
  homeworks/
    hw${HOMEWORK_ID}/
      index.js
      index.pug
  resources/
  templates/
  index.pug
gh-pages/
  homeworks/
    hw${HOMEWORK_ID}/
      index.html
      bundle.js
  resources/
  index.html