Not your average little boilerplate for multiple page modern web app.
Because you can't always do s.p.a.
I had to implement such patterns for my work and finally decided to extract some solutions found to create a kind of boilerplate, and snippets repo.
current status is WIP