Code Splitting
Explanation
Code splitting with Curi routes is done using a resolve
function. The code splitting guide covers the basic principles for how to do this. This example provides you with code that actually implements what is explained there.
On GitHub
If you want to run this code locally, the source code is available on GitHub.