elm-app-gen
elm-app-gen copied to clipboard
Add routing support for elm application scaffold
A couple things coming with this:
- Helper for automatic link generation based on route
- Route detection based on provided parsers
- Optional
onClick
handler passing in case you need to trigger a side effect
The idea is to keep anything routing related for an application inside of the Routing module and reach in to grab your routes and a couple helpers.
This opens up a chance to explore a "Pages" concept to encapsulate related behaviors (views, side effects, decoders, etc)
Looks good, but I think the package.json and package-lock.json changes are unnecessary?