Skip to content

magnetised/elm-webpack-skeleton

 
 

Repository files navigation

elm-webpack-skeleton

Skeleton project for using elm with webpack. Unit test support via elm-test. In dev mode hot module swapping is support via elm-hot-loader.

Usage

###Build a distributable version: npm run build or npm run watch files output to dist/.

###During development: npm run dev and navigate to http://localhost:3000/. On save, swap signal should be sent to elm StartApp which should trigger a re-render.

###To run unit tests: npm run test and navigate to http://localhost:3001/. On save, webpack will auto rebuild and any browser windows will auto reload.

Note: Currently there is a known issue with running the unit tests. You will see a runtime error due to elm-test having a dependency on elm-console. Full details and a temporary workaround are here.

About

Skeleton project for using elm with webpack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.4%
  • Elm 36.2%
  • HTML 5.4%