Name: elm-webpack-starter
Owner: Elm Community
Description: Boilerplate for developing Elm apps on Webpack
Created: 2015-12-31 19:32:20.0
Updated: 2018-01-13 11:17:12.0
Pushed: 2017-12-14 15:25:27.0
Homepage: http://elm-community.org/elm-webpack-starter/
Size: 498
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A simple Webpack setup for writing Elm apps:
Html.beginnerProgram
Clone this repo into a new project folder, e.g. my-elm-project
:
clone https://github.com/moarwick/elm-webpack-starter my-elm-project
y-elm-project
Re-initialize the project folder as your own repo:
rf .git # on Windows: rmdir .git /s /q
init
add .
commit -m 'first commit'
Install all dependencies using the handy reinstall
script:
run reinstall
This does a clean (re)install of all npm and elm packages, plus a global elm install.
start
http://localhost:8080/
src/elm/Main.elm
run build
/dist
folderdist/index.html
Ver 0.8.6
Ver 0.8.5
Ver 0.8.4
Ver 0.8.3
Ver 0.8.2
Ver 0.8.0
debug=true
on webpack loader (PR by douglascorrea)Ver 0.7.1
Ver 0.7.0
Ver 0.6.2
copy-webpack-plugin
instead of cp
to copy files (Windows compatible)Ver 0.6.0
elm-hot-loader
is back (no Elm code changes required!)Ver 0.5.0
elm-hot-loader
(for now)Ver 0.4.0
Ver 0.3.0
html-webpack-plugin
to generate index.html
dist/