Install dependencies:
Access via http://localhost:3000
Build all prototypes into dist folder
To build specific prototypes into a dist folder use:
npm run build [proto number]
Example to build protos 01 13, 31 and 50 just use spaces:
npm run build 13 31 50
Generate the index.html with a list of links for each prototype.
To deploy gh-pages
I followed this awesome article. Thanks Christophe Hamerling
For fresh clones or if you delete the dist folder by mistake please run :
git worktree add ./dist gh-pages
Updating gh-pages
branch:
cd dist/
git add .
git commit -m "Update protos"
git push origin gh-pages