Convert to a single-page application (SPA)