safhac / elm-cube-site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elm-cube-site

A silly lil' 3d cube SPA

  • Based on Webpack starter kit

Install:

Clone this repo into a new project folder, e.g. my-elm-project:

git clone https://github.com/safhac/elm-cube-site my-elm-project
cd my-elm-project

Re-initialize the project folder as your own repo:

rm -rf .git
git init
git add .
git commit -m 'first commit'

Install all dependencies using the handy reinstall script:

npm run reinstall

This does a clean (re)install of all npm and elm packages, plus a global elm install.

Serve locally:

npm start
  • Access app at http://localhost:8080/
  • Get coding! The entry point file is src/elm/Main.elm
  • Browser will refresh automatically on any file changes..

Build & bundle for prod:

npm run build
  • Files are saved into the /dist folder
  • To check it, open dist/index.html

About


Languages

Language:Elm 70.8%Language:JavaScript 14.2%Language:CSS 13.4%Language:HTML 1.5%