This is an excerpt from Manning's book Svelte and Sapper in Action. Login to get full access to this book.
Exporting can be desirable for apps where it is possible to generate the HTML for every page at build time.