elm-app-gen icon indicating copy to clipboard operation
elm-app-gen copied to clipboard

Add routing support for elm application scaffold

Open omarestrella opened this issue 5 years ago • 1 comments

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)

omarestrella avatar Sep 12 '19 21:09 omarestrella

Looks good, but I think the package.json and package-lock.json changes are unnecessary?

MattCheely avatar Dec 01 '19 20:12 MattCheely