Skip to content

Creating an app shell and a default "No internet connection page" fallback #163

Answered by shadowwalker
ivandotv asked this question in Q&A
Discussion options

You must be logged in to vote

Sure, the feature is implemented.

To get started simply add a /_offline page such as pages/_offline.js or pages/_offline.jsx or pages/_offline.ts or pages/_offline.tsx. Then you are all set! When the user is offline, all pages which are not cached will fallback to '/_offline'.

**Use this example to see it in action**s

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ivandotv
Comment options

Answer selected by shadowwalker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants