A Trumpable clone written in Elm.
- Dev server with live reloading, HMR
- Support for CSS/SCSS (with Autoprefixer), image assets
- Bundling and minification for deployment
Clone this repo:
git clone https://github.com/gumarm/elmable
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.
npm start
- Access app at
http://localhost:3000/
- Get coding! The entry point file is
src/elm/Main.elm
- Browser will refresh automatically on any file changes..
npm run build
- Files are saved into the
/dist
folder - To check it, open
dist/index.html