freakingawesome / drunk-label

Mistyping as a Service
https://freakingawesome.github.io/drunk-label/
Do What The F*ck You Want To Public License
14 stars 2 forks source link

Elm usage example #1

Open colelawrence opened 8 years ago

colelawrence commented 8 years ago

Is it possible to get a short snippet of the Elm usage in the readme? Or open sourcing the gh-pages code? Thanks!

colelawrence commented 8 years ago

Very fun example, I would like to use it as reference while learning Elm.

freakingawesome commented 8 years ago

Sure, I'll try to get around to that soon.

In the meantime, the demo is open source and located here: https://github.com/freakingawesome/drunk-label-demo

It uses the elm-webpack-starter project as its base, as well as elmx for inlining html inside Demo.elmx. You'll need to install webpack.

If you clone that repo, you should be able to get it running by the following:

> npm install
> npm start

Good luck! Let me know if you run into any issues getting it running so I can provide better documentation.

colelawrence commented 8 years ago

Haven't seen elmx yet, very cool!