XUtils

example-elm-hot-webpack

Example showing hot module reloading for Elm 0.19 and Webpack


Example: Elm 0.19 hot module reloading with Webpack

Demonstrates how to use elm-hot-webpack-loader together with elm-webpack-loader. This is just a toy project to show the simplest possible integration. You may want to consider more full-featured alternatives such as create-elm-app.

Instructions

  1. npm install
  2. npm run dev
  3. open the app in your browser
  4. modify src/Main.elm
  5. see the change automatically reload in your browser

Articles

  • coming soon...