Static GitHub Issues

[1941] Handling Lazy Loading Routes when offline

prev: Dynamic routes using regexp with extendRoutes inside nuxt.config.js
next: Problem with generate and dynamic params?

As Lazy Loading Routes is a part of Nuxtjs and is enabled by default, my questions are: 1. How can we handle app behavior when app is no longer online and trying to navigate to route that is not loaded yet? By default I see "Loading chunk %n failed." error. What approaches are possible here show user message about offline status etc? 2. Is it possible to disable splitting app.js build on pages for production? That could be usefull for small apps that doesn't need this.

Thanks for help!

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1733">#c1733</a>)</em></sub></div>