klazuka / example-elm-hot-webpack

Example showing hot module reloading for Elm 0.19 and Webpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Example showing hot module reloading for Elm 0.19 and Webpack


Languages

Language:JavaScript 54.4%Language:Elm 35.1%Language:HTML 10.5%