Discussion about boilerplate code for Elm libraries

The way I handle this is with Master View Types.

You can see the required code at the example repo, which conveniently also uses bootstrap.

You could definitely argue that there is still some boilerplate, but it is all code that is relevant to your app, as opposed to generic code that you don’t care about.