eeue56 / elm-static-html-lib

BSD 3-Clause "New" or "Revised" License
57 stars 11 forks source link

Elm static template without model and decoder #2

Closed halfzebra closed 6 years ago

halfzebra commented 6 years ago

Would it make sense to add an option to have a static template without a model and decoder?

I'm up for making a PR with the feature.

klaftertief commented 6 years ago

My use case would be to generate static templates with placeholder strings for the actual data, so a constant model in the Elm module is sufficient. This way I can e.g. easily share styles between a web app and transactional e-mails.

eeue56 commented 6 years ago

Published as 0.0.9

halfzebra commented 6 years ago

Awesome, thanks!

klaftertief commented 6 years ago

Ditto 🎉