elm-spa build

generate glue based on your pages.

let's make a computer do it

After you've created a new project with elm-spa init, you can use the elm-spa build command in your project folder to generate routes, pages, and url parameters:

elm-spa build

Files will be created in the elm-stuff/.elm-spa folder

The elm package, ryannhg/elm-spa, standardizes how pages are wired together, so we let the build command do all the typing for you.

As long as you follow the naming conventions in the pages folder, this command will do all the work.

next up: pages